Conserving HTML / linebreaks in notes field when using bibtex format

I am trying to import data into Zotero using Bibtex format (.bib). I'm using Zotero 5.0.74. I have notes that contain HTML code / linebreaks, and I am unable to conserve them. What is the format I should use? I have tried the following:

annote = {Test format
Linebreak}

Result: single line of text (Test format Linebreak).

annote = {Test format
Linebreak}

Result: HTML tag remains visible inside the notes field ("Test format
Linebreak")

annote = {

Test format
Linebreak}

Result: HTML tags remain visible, exactly the same as above.

What is the correct syntax to use in order to conserve linebreaks (and other HTML code, if possible)?

  • BBT will preserve markup it knows about, which is a fair lot. If you have html not yet supported that isn't crazy complex (I've shied away from tables for example) I can probably add it.

    BBT preserves double-newlines and \par as newlines -- I'm not sure how Zotero treats those in notes fields.
Sign In or Register to comment.