roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

Fix Ampersand Issue When Rendering Plan.title

Open aaronskiba opened this issue 2 years ago • 1 comments

Fixes https://github.com/DMPRoadmap/roadmap/issues/3348

  • https://github.com/DMPRoadmap/roadmap/issues/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 avatar Oct 13 '23 17:10 aaronskiba

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

aaronskiba avatar Oct 20 '23 17:10 aaronskiba