Details
-
Type: Improvement
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.91
-
Fix Version/s: None
-
Component/s: filters
-
Labels:
-
Environment:
All
Description
The OSIS filter osisxhtml.cpp currently supports milestone tags with type="line" and type="x-p". But support for type="x-p-indent" is also needed. Milestones of this type represent only a paragraph indent, without any line break.
It may be appropriate to use attribute n=2 for double intents, and n=3 as triple indents.
The x-p-indent could render simply as " " but it could also be implemented as a span with a particular class (such as class="x-p-indent").
Reasons for the need: Milestone x-p-indent in conjunction with <lb /> allow proper and consistent display of languages which don't use traditional paragraphs and paragraph styles. Furthermore, SFM texts cannot be consistently converted to <p>...</p> and <l>...</l> tags, but instead require milestone tags for consistent conversion. This is due to the fact that SFM itself often encodes this information using milestone tags only (no end tags).