snoopdave opened a new pull request, #272: URL: https://github.com/apache/roller/pull/272
The next/previous links on a permalink page and the big calendar (`#showWeblogEntryCalendarBig`) printed entry titles from the POJO, not the wrapper, and handled markup and entities inconsistently. - New `Utilities.plainTextExcerpt`: remove markup, decode entities, cut at a word boundary, then HTML-encode. The pager (15–20 characters) and the calendar (20) use it. - A title saved by the editor with `&` no longer becomes `&`, and markup in a title no longer reaches the page as markup. - Titles posted through AtomPub and XML-RPC are stored as before. Tests: `UtilitiesTest.testPlainTextExcerpt`, and `WeblogEntriesPermalinkPagerTitleTest`, which builds real entries and checks the next/previous names. The pager test fails on `roller-6.1.x` and passes here. `mvn -pl app test`: 500 tests, 0 failures. No test covers the calendar change; it uses the same helper, but a look at an archive page with the big calendar would confirm it. Once this is merged, the same change goes to master for 7.0.0. -- 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]
