Skip to content

Fix replacement so that it works when a newline falls between 'the' and 'cloud'#3

Open
jeffgdotorg wants to merge 1 commit intoDaveRandom:masterfrom
jeffgdotorg:master
Open

Fix replacement so that it works when a newline falls between 'the' and 'cloud'#3
jeffgdotorg wants to merge 1 commit intoDaveRandom:masterfrom
jeffgdotorg:master

Conversation

@jeffgdotorg
Copy link

While reading the following page:

http://www.debian.org/News/2012/20120425

I noticed that the extension was failing to do its job. Turns out there's a newline in the HTML source between the tokens "the" and "cloud".

So I fixed the regex replace so that it handles this situation.

You're welcome.

-jeff

Copy link

@zaverucha zaverucha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I hit this issue as well.

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