|PATCH: lj-raw tag disables auto-formatting
||[Jun. 23rd, 2002|11:44 pm]
lj-raw tag disables auto-formatting.
As suggested by bradfitz, this patch provides a
lj-raw tag, which disables auto-insertion of line breaks.
Example of usage:
<H3>Stuff To Do</H3>
<LI>Distribute LJ Virus</LI>
<LI>Replace Brad with clone</LI>
<LI>Take over LiveJournal</LI>
(The above code enclosed in lj-raw tags will not be auto-formatted, but
lj-raw tag doesn't have to be closed; it'll work throughout your entry, comment, or bio.
Is there any reason why
style attributes are stripped from the bio? Unsafe code is already being stripped from
style attributes, so I don't see any reason for this. I've changed this in the patch.
Also includes some minor code cleanups, primarily converting tabs to spaces.