Skip to content

Allow newlines in SPROP #6631

Description

@assafmendelson

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions