roadmap
roadmap copied to clipboard
Fix Ampersand Issue When Rendering Plan.title
Fixes https://github.com/DMPRoadmap/roadmap/issues/3348
- https://github.com/DMPRoadmap/roadmap/issues/3348
Changes proposed in this PR:
- Use
sanitize()onPlan.titleto enable proper rendering of ampersands - Use
.gsub(/&/,'&')onPlan.titleto enable proper rendering of ampersands in downloaded .txt files of plans - Change
'- add contributor'to'- add research output'for appended browser tab title inapp/views/research_outputs/new.html.erb
It looks like Rubocop is failing because the rubocop gem was updated, but the newly found rubocop errors still need to be addressed.