-
Notifications
You must be signed in to change notification settings - Fork 827
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
Random <br> tags in the output from JSON schema rendering? #617
Labels
❓ Question
Question about one of the samples
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using List formatting JSON to customize the Board view in Microsoft Lists in Microsoft 365. I have a description field/column set to Single line of text (which is a string without any HTML tags that I have validated with the Microsoft Graph API call to that List item). I am applying the following JSON formatting syntax to that field:
And the field renders fine except I am seeing
<br>
tags added by the JSON renderer, when I inspect the DOM via Chrome. For some fields the<br>
tag is added in the middle of the text and for other multiple<br>
tags are added at the end - see the 2 outputs below with the<br>
tags introduced in the middle/end of the text. It appears the formatter is adding this unilaterally to space out the text thereby creating unnecessary white space.Is there a way to control this behavior and force the JSON renderer to not apply any additional formatting besides what is specified in the JSON?
Output 1 (Note multiple
<br>
tags inside the<p>
tag at the end of the text):Output 2 (Note the single
<br>
tag inside the<p>
tag in the middle of the text):The text was updated successfully, but these errors were encountered: