Add space to end of line when line breaking?
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 42
- Joined: Mon Aug 18, 2014 11:50 pm
Add space to end of line when line breaking?
Is there any way to add a space to the end of the line when oXygen breaks lines?
When editing in Author mode, oxygen seems to automatically break long lines with no space at the end of the line.
I recently ran into an issue in web based outputs in IE with this format. The DITA-OT passes the text line breaks to the HTML output.
Essentially, if there is a line break in the XML/HTML code without a space at the end of the line, the Ctrl+F search feature in IE 9 and higher will not match the text. Here is my posts about the issue on Microsoft's forums: https://social.technet.microsoft.com/Fo ... line-in-ie
Since Microsoft will probably never do anything about it, I think I'm left with only the following options:
Thanks in advance.
When editing in Author mode, oxygen seems to automatically break long lines with no space at the end of the line.
I recently ran into an issue in web based outputs in IE with this format. The DITA-OT passes the text line breaks to the HTML output.
Essentially, if there is a line break in the XML/HTML code without a space at the end of the line, the Ctrl+F search feature in IE 9 and higher will not match the text. Here is my posts about the issue on Microsoft's forums: https://social.technet.microsoft.com/Fo ... line-in-ie
Since Microsoft will probably never do anything about it, I think I'm left with only the following options:
Code: Select all
-Go though all our XML content (+100MB) and identify text breaks and add an extra space
Non space ending lines will still appear as new text is is created in oXygen
That is where this post comes in, to try and prevent future cleanup
-Try and tweak the toolkit to reformat the text when rendering HTML output
-Add a header to the HTML output pages to use IE 8 compatibility mode
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Add space to end of line when line breaking?
Hi,
There is no option in Oxygen to add a space to the end of the lines, and even if there were, this would not guarantee that the final output will actually contain the spaces.
Since this can be obtained during the transformation process, I think you should address this question to DITA users list: http://tech.groups.yahoo.com/group/dita-users/ and they might be able to further help you.
Best Regards,
Mihaela
There is no option in Oxygen to add a space to the end of the lines, and even if there were, this would not guarantee that the final output will actually contain the spaces.
Since this can be obtained during the transformation process, I think you should address this question to DITA users list: http://tech.groups.yahoo.com/group/dita-users/ and they might be able to further help you.
Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service