Hello and thanks for your tool :)
In your code there are the following lines:
defn = defn.replace("\\\\","\\").\
replace(">", "\\>").\
replace("<", "\\<").\
replace("\\n","<br/>\n").\
strip()
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
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