Single quote titles #7

Merged
merged 2 commits into from Jul 27, 2013

2 participants

@clarkbw

Added in a test for this. I was seeing elements with style quotes confusing a single quote for the end marker of the regex. This breaks up the regex into three separate ones and allows for a single quote to be inside that text.

clarkbw added some commits Jul 19, 2013
@clarkbw clarkbw add a test for articles with a single quote in between some kind of s…
…tyle emphasis
172801c
@clarkbw clarkbw break up the style regex into 3 sub groups
Because I need to test that the beginning and ending number of quotes
are exactly the same I broke up the style regex into 3 groups for each
type.  Within each test I now also allow for a single quote to pass
through using the `[^']+'[^']+|[^']` syntax that looks for
non-quote+one-quote+non-quote text or all non-quote text.
345732b
@kenshiro-o kenshiro-o merged commit ed61508 into kenshiro-o:master Jul 27, 2013

1 check passed

Details default The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment