Quote:
Originally Posted by geek1011
I don't think nbsps will work, as QString::simplified removes all chars which return true for QChar::isSpace, which includes https://www.compart.com/en/unicode/category/Zs. I could write a patch to prevent this though (it's in N3TableOfContentsWidget::setContent(Shortcover const&)), and I might add the ability to use spaces for TOC depth feature to seriesmeta. Also, if this method is used, the chapter titles should probably be normalized too (simplified also removes repeated whitespaces within the string).
|
That's unfortunate. I suppose stripping leading and trailing spaces makes sense for something like this and that's simple way to do this and remove anything else that might be bad. I'll try it just in case. Or maybe there is something else suitable.