FicHub / fichub.net

web frontend for generating ebooks from fanfic
https://fichub.net
GNU Affero General Public License v3.0
45 stars 2 forks source link

fanfiction.net : export as HTML : dashes (em dash / en dash) converted to hyphens #32

Open omicron-th8a opened 1 year ago

omicron-th8a commented 1 year ago

When exporting as HTML from fanfiction.net, dashes (em dashes or en dashes) in the source story are converted to hyphens in the exported story. (this may also occur for other source sites and export formats)

Example: https://www.fanfiction.net/s/2864314/1/ The very first chapter contains 8 dashes (em dashes). In the exported story, these have all been convered to hyphens.

Unsure how fichub would handle it if they had been properly encoded in the source file, — or —, but the symbol itself (—) is being dropped and replaced with a hyphen (-). This makes for difficult reading as dashes, when used, are not typically offset by whitespace, so converting to hyphens leaves behind a hard-to-follow wall of text.