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

[MozillaBugTrackerBridge] Fix incorrect newlines in feed title #2298

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

yamanq
Copy link
Contributor

@yamanq yamanq commented Oct 14, 2021

Due to changes in Bugzilla, plaintext returns the bug id with extra whitespace at either end. This can be either by making a narrower (and more brittle) selector or by trimming the plaintext. I chose the latter for this PR.

Test: http://rssbridge/?action=display&bridge=MozillaBugTracker&context=Bug+comments&id=668576&limit=-1&sorting=lf&format=Atom

Old output:

        ...
        <title type="text">
        Bug 668577
       - registerProtocolHandler notification should provide a &amp;quot;don't ask me again&amp;quot; button - Mozilla Bug Tracker</title>
        ...

New output:

        ...
        <title type="text">Bug 668577 - registerProtocolHandler notification should provide a &amp;quot;don't ask me again&amp;quot; button - Mozilla Bug Tracker</title>
        ...

@em92 em92 merged commit c445ba6 into RSS-Bridge:master Oct 14, 2021
floviolleau pushed a commit to floviolleau/rss-bridge that referenced this pull request Jan 25, 2022
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.

2 participants