]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/__60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn
fix link
[ikiwiki.git] / doc / bugs / __60__br__62___tags_are_removed_from_markdown_inline_HTML.mdwn
index d32b2e978cf9362b67877607c8f5d82b56c3857a..3f65b01b982901bd397df229d95690f395bfdb72 100644 (file)
@@ -5,6 +5,27 @@ I am trying to add a post address to a document:
   Second line
 </address>
 
-As you can see, the `<br/>` is being removed. I disabled [[htmlscrubber]], but that was not it. The [markdown Dingus](http://daringfireball.net/projects/markdown/dingus) on its homepage processes the inline HTML just fine.
+As you can see, the `<br/>` is being removed. I disabled [[plugins/htmlscrubber]], but that was not it. The [markdown Dingus](http://daringfireball.net/projects/markdown/dingus) on its homepage processes the inline HTML just fine.
 
 I tried searching the web and wiki but could not find any information on why <br/> would be removed.
+
+> It does work if you use `<br />`:
+>
+> First line<br />
+> Second line
+>
+> Or, as we've just been told in #ikiwiki: put two spaces at the end of the first line.
+>
+> First line  
+> Second line
+>
+> --[[tschwinge]]
+
+> > `<br/>` is also valid, so this is a bug still. --[[madduck]]
+
+>>> It _is_ the htmlscrubber that removes that. It's due to [[debbug 365971]], 
+>>> basically the [[cspan HTML::Scrubber]] doesn't understand xhtml tags
+>>> of this sort at all, I hacked it to support `<br />` by tellig it to treak 
+>>> the "/" as an attribute, but if there's no space, it doesn't see it as 
+>>> an attribute. Hmm, I could also add `br` as a tag name, that would catch both cases.
+>>> Ok, [[done]] --[[Joey]]