BeelGroup / Docear4Word

Source code of Docear4Word. See http://www.docear.org/software/add-ons/docear4word/overview/ for more details.
18 stars 7 forks source link

HTML code not correctly interpreted when no space between tags #35

Open Joeran opened 10 years ago

Joeran commented 10 years ago

Docear4Word or CiteProc-JS does not handle HTML code very well.

If I have a BibTeX code like this:

Title = {The A should be italic and the x after the A should be subscript: <i>A</i><sub>x</sub>},

the output should be like this: image

However, this is how it actually is (the x is not subscript): image

Interestingly, if you add some characters between the <i>A</i> and <sub>x</sub> then it works. For instance,

Title = {The A should be italic and the x after the A should be subscript:_<i>A</i>_<sub>x</sub>_},

leads to

image