You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will of course break any HTML that is in the word definition (<p> becomes \<p\>, etc). So my question is: what's the purpose of the above code? I removed it and was still able to generate a dictionary that looked okay on my Kindle.
Many thanks,
nyg
The text was updated successfully, but these errors were encountered:
nyg
changed the title
Adding HTML in the definition
Using HTML in the definition
Mar 7, 2018
Precisely -- the opf format is itself xml, so the html must be escaped somehow. I don't recall how the opf needs to properly escape the html (maybe proper xml escapes or maybe just backslashes), but I didn't need anything more sophisticated for my uses.
Hello and thanks for your tool :)
In your code there are the following lines:
This will of course break any HTML that is in the word definition (
<p>
becomes\<p\>
, etc). So my question is: what's the purpose of the above code? I removed it and was still able to generate a dictionary that looked okay on my Kindle.Many thanks,
nyg
The text was updated successfully, but these errors were encountered: