and you want to insert more text onto bar, but as a new paragraph. You could do something like this:
which is pretty ugly, or you could do something like this (using : prefixes for indenting text)
but that is still ugly, and it doesn't work at all for numbered lists:
Here is a patch that will let you insert a
in between two paragraphs, and cause them two to be joined into one line for further wiki processing, thus putting it all into one chunk.
inside sub WikiToHTML, insert this line:
$pageText =~ s/\\\\ *\r?\n/<BR>/g; # double backslash for forced <BR> - comes in handy for <LI>in front of the line that has "# Join lines with backslash at end"
For an example of this in effect, have a look at http://www.iawiki.net/cgi-bin/wiki.pl?UserPreferences/StylesheetURL
For this to work, you have to change the line to:
$pageText =~ s/\\\\/<BR>/g; # double backslash for forced <BR> - comes in handy for <LI>
$pageText =~ s/\<\;[bB][rR]\>\;/<BR>/g;...to the next release. --CliffordAdams
... this is way I did it anyway. --DavidClaughton.
Can anyone explain how it is possible to do scripting with the <br> tag (or any of the others enabled by $HTMLTags for that matter)? --DavidClaughton
I think part of the answer lies in the notion that regardless of html being enabled or not, the <br> tag would function to break the line if it is included in the UseMod code. Isolated, it could not be used to create a script. --MatthewSimpson