-
Notifications
You must be signed in to change notification settings - Fork 457
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
Raw citations should be escaped on the front-end #5623
Comments
PR to master: pkp/ojs#2678 |
@Vitaliy-1, thanks, this is now merged and correct in OJS and OMP, both |
@asmecher, my initial thought was that publishers may want to use some tags in references, e.g., links (DOIs...) or formatted text (italic/bold). On the other hand, this form doesn't use TinyMCE that should discourage from using tags. |
Yes, for consistency we would need to convert the field to TinyMCE-enabled (and escape prior content) in order to properly support HTML in reference lists. |
Can this be closed now? |
I have @Vitaliy-1's thumbs-up on themes, and I've covered the apps, so yes! |
OJS master branch and 3.1.2 stable
References form can be populated by an author during submission process in the case when it's enabled. Prior to exposure to the front-end, this data should be escaped.
Relevant for the Default and other themes (
article_details.tpl
).The text was updated successfully, but these errors were encountered: