[Xerte-dev] Editor inserts extra <br> tags between paras if a heading is used??
Smith, Bradley
brsmith at akamai.com
Thu May 14 00:15:29 BST 2015
If I create a text page and put the following HTML into it:
```
<p>Para 1
</p>
<p>Para 2
</p>
```
When I click Play it looks as I would expect it to, and if I look at the source of the page I see basically that markup in the pageContents div.
However, if I add a heading like so:
```
<h2>Heading
</h2>
<p>Para 1
</p>
<p>Para 2
</p>
```
What actually gets rendered now is:
```
<h2>Heading</h2>
<br>
<br>
<p>Para 1</p>
<br>
<br>
<p>Para 2</p>
<br>
```
The result... doesn’t look very good.
I haven’t gotten to dig into this much, but I can’t imagine what would do a thing like this, let alone why. Does anyone know? Should I file this as an issue on github?
Thanks,
—Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4291 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20150513/1628939e/attachment.bin>
More information about the Xerte-dev
mailing list