Switching on the sample wiki.css style sheet can cause text to disappear.
If a horizontal rule is preceded by a blank line e.g.
Here is some text
---- more text
Then you get the expected result of
Here is some text
If you now add a style sheet to the wiki config then the Here is some text will disappear
Looking at the html source the only difference is the inclusion of the .css link <LINK REL="stylesheet" HREF="/bhwikidb/bhwiki.css">
The problem seems to be that the generated html source
<hr class=wikilineheader></div><div class=wikitext>here is some text <p> <hr class=wikiline>more text
becomes invalid when used with the style sheet.
in
sub WikiLinesToHtml {
replace
if (!$ParseParas){ s/^\s*$/<p>\n/; # Blank lines become <p> tags
with
if (!$ParseParas){ ## s/^\s*$/<p>\n/; # Blank lines become <p> tags # BH011 s/^\s*$/<br> \n/; # Blank lines become <br>&bnsp tags# BH011
This seems to work. Although it is only required when using a style sheet, it also seems to work correctly when you do not use style sheets in the config.
## s/^\s*$/<p>\n/; # Blank lines become <p> tags # BH011 s/^\s*$/<br>\n/; # Blank lines become <br> tags # BH011and add a   before all the <hr class=wikiline> and <hr noshade class=wikiline>substitutions.
I can't reproduce this either. Do someone has a stylesheet which may cause problems? -- MarkusLude