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

add <code> HTML tag to sanitize_html method #99

Open
skalimer0 opened this issue Aug 7, 2024 · 1 comment
Open

add <code> HTML tag to sanitize_html method #99

skalimer0 opened this issue Aug 7, 2024 · 1 comment

Comments

@skalimer0
Copy link

Hello,

REDMINE add code tag for code sample.
If you add code in all tags in your sanitize_html the code sample can be colorized

Before:
336409370-9f924c27-92c3-4821-b0dd-6b8721569375
After:
336409607-f7d51664-c842-43a2-9aee-181e07b49bbe

Thanks

@skalimer0
Copy link
Author

skalimer0 commented Aug 7, 2024

We can't override method on our redmine's plugin because sanitize_html is protected on RBPDF.

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