OkCupid auto-close markup tag

By Cornelius Last update Feb 19, 2008 — Installed 221 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 3 posts, 3 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Johan Sundström Scriptwright

If you want to, you can trim and edit the description above for readability via the script info option on the right. I'd just leave the first sentence in the first text field, and paragraphify the second a bit, perhaps leaving out bits already covered in the comment entirely.

 
Cornelius Script's Author

Addon/utility script for OKCupid website.

This site has a journaling feature which allows a *very* restricted set of markup tags (specifically, just bold and italics). A frequent issue is that users fail to close their tags, and the effects spill over into subsequent comments.

This script fixes that, by adding the right number of close tags to match.

Thanks to Johan Sundström (http://userscripts.org/users/326) for assistance. You might check out his collection of scripts, and in addition, there's http://zzyzx.xyzzy.googlepages.com/okcupidhacks

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel