How to deal with super long word
Example of long "word": introscope.agent.enterprisemanager.transport.tcp.socketfactory.DEFAULT=com.wily.isengard.postofficehub.link.net.SSLSocketFactory
Some of our documents contain lots of this kind of super long words everywhere(like headings and paragraphs).
It seems adding "word-wrap:break-word;" to body is not a good idea, it might impact other documents.
So how can we solve this problem?
-
Hi Chris,
unfortunately I don't see any other option than using the word-wrap command.
Have you tried to define the word-wrap only for paragraphs and specific heading levels? Furthermore you could create an Export Scheme that's only available in a specific space if you don't want to have it impact other spaces.
Does that help?
Cheers,
Nils -
Hi Nils,
Thanks for the quick feedback, and it helps.
I tried to define word-wrap for paragraphs, but I noticed that if there are child tags like <strong> in paragraphs, then even short words in the child tags can be broken and wrap onto next line.
Since only few documents have this issue and we don't want to make it complicated and uneasy to control, for now we are asking writers not to use this kind of long "word" in the documents.
Thanks,
Chris
Please sign in to leave a comment.
Comments
2 comments