fourplusone/etherpad-plugins — pull request #16 by clkao (2012-11-02 00:41:05+00:00)
Title: prevent heading line style affecting text afterwards

if headings are followed by text elements that are not wrapped inside tags, lineAttribute never gets clearer.

to reproduce, create a test pad and:

curl -d apikey=`cat APIKEY.txt` -d 'padID=test' -d 'html=

foo

^M
^Mfnordfofowersdf

' 'http://localhost:28002/api/1/setHTML'