2008-01-06 13:32:56 +01:00
I am trying to add a post address to a document:
<address>
First line<br/>
Second line
</address>
2008-05-31 00:31:14 +02:00
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.
2008-01-06 13:32:56 +01:00
I tried searching the web and wiki but could not find any information on why <br/> would be removed.
2008-01-06 14:55:23 +01:00
> 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]]
2008-01-06 15:03:28 +01:00
> > `<br/>` is also valid, so this is a bug still. --[[madduck]]
2008-01-08 00:32:50 +01:00
2008-07-21 13:31:04 +02:00
>>> It _is_ the htmlscrubber that removes that. It's due to [[!debbug 365971]],
>>> basically the [[!cspan HTML::Scrubber]] doesn't understand xhtml tags
2008-01-08 00:32:50 +01:00
>>> 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]]