snoopdave opened a new pull request, #369: URL: https://github.com/apache/roller/pull/369
The rich-text editor's media chooser built its link and image markup by string concatenation. This ports master's approach from #233. - **Filenames stay literal.** The inserted link and image are built with jQuery text and attribute setters, so quotes, angle brackets and ampersands in a media file's name come through as typed. - **Thumbnails unchanged.** Images still use the thumbnail (`?t=true`) when one exists and the original otherwise. - **Tests.** Three new `RichEditorContentIT` cases fail without the change and pass with it (the whole class passes, 10 tests). The app unit suite passes on JDK 11 (814 tests). Not covered: a full browser run through a live Roller instance; the tests check the chooser's output before Summernote receives it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
