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

Fix Ampersand Issue When Rendering Plan.title #3350

Open
wants to merge 7 commits into
base: development
Choose a base branch
from

Conversation

aaronskiba
Copy link
Contributor

Fixes #3348

Changes proposed in this PR:

  • Use sanitize() on Plan.title to enable proper rendering of ampersands
  • Use .gsub(/&/,'&') on Plan.title to enable proper rendering of ampersands in downloaded .txt files of plans
  • Change '- add contributor' to '- add research output' for appended browser tab title in app/views/research_outputs/new.html.erb

@aaronskiba aaronskiba marked this pull request as draft October 16, 2023 20:21
@aaronskiba aaronskiba marked this pull request as ready for review October 20, 2023 16:58
@aaronskiba
Copy link
Contributor Author

It looks like Rubocop is failing because the rubocop gem was updated, but the newly found rubocop errors still need to be addressed.

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

Successfully merging this pull request may close these issues.

None yet

1 participant