ep_headings works fine for newly added headings. however if the content is being set by the setHTML API, the collectContentPre hook does not seem to be run and thus to existing headings are cleared.
to reproduce, start epl with ep_headings installed, create a pad call headings. then:
ep_headings works fine for newly added headings. however if the content is being set by the setHTML API, the collectContentPre hook does not seem to be run and thus to existing headings are cleared.
to reproduce, start epl with ep_headings installed, create a pad call headings. then:
curl -d apikey=
cat APIKEY.txt-d 'padID=headings' -d 'html=<div><h1>foo</h1><p>fofo<b>wer</b>sdf</div>' 'http://localhost:9001/api/1/setHTML'