-
May 29th, 2021, 17:28 #1
Soft line breaks dont respect bold, italic and underline formatting
As I am writing my adventure module I came upon some formatting problems. I can replicate these in a fresh campaign without extensions. Soft line breaks seem to cause issues with bold, italic and underline texts. Hard line breaks work fine.
For testing I mixed the line break method to better illustrate the error.
Before reloading the campaign:
After reloading the campaign:
GitHub
Ruleset: FFd20
Extensions: Advanced Charsheet - Attack Modifiers - Big Portraits - Enhanced Skills - Legacy Items - Spell Action Info - Spell Record Actions - Tooltips
-
May 29th, 2021, 18:42 #2
- Join Date
- Nov 2018
- Posts
- 389
This thread may be related: https://www.fantasygrounds.com/forum...ent-characters
When adding a new line via SHIFT+Enter, a carriage return code (#&13) is inserted and looks like this in db.xml (backslash before ; character added to be able to post output):
Code:<p><b>Bold</b> text
\;<b>Bold</b> text
\;<b>Bold</b> text</p>
Code:<p><b>Bold </b>text
\; <b>Bold </b>text
\; <b>Bold </b>text</p>
Last edited by Ecks; May 29th, 2021 at 18:45. Reason: fixed typo
-
May 29th, 2021, 18:47 #3
Indeed. I think this has been know about for some time. I have the same issue when using par5e hence I have to enclose any punctuation within the tabs to avoid this , So I have to <b>this,<b> - in other words bold the comma as well. So when using the line break I'd include that inside the tags as well <b>1st line@#13;\</b>Second Line
If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php
-
May 29th, 2021, 18:49 #4GitHub
Ruleset: FFd20
Extensions: Advanced Charsheet - Attack Modifiers - Big Portraits - Enhanced Skills - Legacy Items - Spell Action Info - Spell Record Actions - Tooltips
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks