Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow newlines in SPROP #6631

Open
assafmendelson opened this issue Nov 20, 2021 · 0 comments
Open

Allow newlines in SPROP #6631

assafmendelson opened this issue Nov 20, 2021 · 0 comments

Comments

@assafmendelson
Copy link

Is your feature request related to a problem? Please describe.
I am not sure if there is already a way to do this (if so, then this is just a documentation issue).
Let's say I am creating a custom magical item (either through the UI or by modifying a custom lst). I have an SProp describing the item. Right now, I can't find a way to format the description. As a minimum, I would love to have a newline (I tried , \n, &nl; which is possible only in the lst).
For example, I added the following line to my homebrew lst:

Pelor's divine grace (Holy symbol) COST:10000 OUTPUTNAME: Pelor's divine grace WT:0.5 TYPE:Magic.Wondrous SPROP:First line \n newline try2 <br> newline try 3 &nl; i just want the description in a new line.

When looking at the equipment info in the inventory page I do see a line break by using
(the other two options remain literal). However, when I am trying to print (using fantasy/pdr/csheet_fantasy_simple_grey.xslt for example) or simply in the character sheet tab, all options are literal (including the
one).

Note that while my current issue is with newline, it would be nice to be able to do some formatting in general (e.g. using markdown or html tags).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant