Issues breaking strings of symbols in table cells
Posted: Fri Feb 15, 2019 10:27 pm
Some tables in our PDFs (DITA-CSS) have a string like the following: >>>>>>>>>>>9. In our PDF outputs, we use the overflow-wrap attribute to force long words to break within cells and not bleed. However, this doesn't force the >>>>>>>>>>9 string to break.
We use the overflow-wrap: break-word; attribute at the topic/entry level to break long words. This doesn't work on the string of symbols described above.
Expected result:
string of symbols breaks without a hyphen (soft hyphen) and continues in the cell without bleeding
Actual result:
String of symbols bleeds into next cells without breaking
We use the overflow-wrap: break-word; attribute at the topic/entry level to break long words. This doesn't work on the string of symbols described above.
Code: Select all
<row>
<entry colname="col1">Record Count
</entry>
<entry colname="col2">
</entry>
<entry colname="col3">4–13
</entry>
<entry colname="col4">>>>>>>>>>9
</entry>
<entry colname="col5">10
</entry>
<entry colname="col6">
</entry>
</row>
string of symbols breaks without a hyphen (soft hyphen) and continues in the cell without bleeding
Actual result:
String of symbols bleeds into next cells without breaking