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

HTML help shows with incorrect spaces #6635

Open
ebruchez opened this issue Nov 19, 2024 · 3 comments
Open

HTML help shows with incorrect spaces #6635

ebruchez opened this issue Nov 19, 2024 · 3 comments
Assignees

Comments

@ebruchez
Copy link
Collaborator

  • <xf:help ref="..." mediatype="text/html"/>
  • result below
image
@ebruchez
Copy link
Collaborator Author

ebruchez commented Nov 19, 2024

See #1618.

In Form Builder, we have a white-space: normal; set, but only for one particular dialog. It would be good if we knew whether the help was HTML or not and applied the correct CSS in both cases. The comment says "We need a better solution!" :)

@ebruchez
Copy link
Collaborator Author

Two general solutions:

  • always output HTML
    • this means converting from plain text to HTML on the server
  • or we indicate whether the content is HTML or plain text
    • this means adding this information to the HTML (currently not present)

@ebruchez
Copy link
Collaborator Author

Funnily enough, in another place, we have a "TODO: implement server-side plain text output with
insertion".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: No status
Development

No branches or pull requests

1 participant