github.com/jancarloviray/community@v0.41.1-0.20170124221257-33a66c87cf2f/core/api/convert/html/README.md (about)

     1  How the HTML conversion works
     2  =============================
     3  
     4  Uses the "golang.org/x/net" repository package "html" to parse the HTML into a tree,
     5  then walks the tree using processHeadings() to make a series of sections with a heading as their title and the following HTML as the body. 
     6  
     7  Importantly, if a heading is within some other structure, that other structure is ignored in order to get the heading into the list. This seems to mostly work well, but may have some unintended side-effects.
     8  
     9  On the subject of unintended side-effects, or rather their avoidance, "script" HTML tags and their contents are not passed through.
    10