Remove redundant escapes inside regexp literal
This commit is contained in:
		
							parent
							
								
									df294bb491
								
							
						
					
					
						commit
						22a160cb32
					
				|  | @ -8,7 +8,7 @@ RSpec.describe Jekyll::SeoTag do | |||
|   let(:tag)       { "seo" } | ||||
|   let(:text)      { "" } | ||||
|   let(:output)    { Liquid::Template.parse("{% #{tag} #{text} %}").render!(context, {}) } | ||||
|   let(:json)      { output.match(%r!<script type=\"application/ld\+json\">(.*)</script>!m)[1] } | ||||
|   let(:json)      { output.match(%r!<script type="application/ld\+json">(.*)</script>!m)[1] } | ||||
|   let(:json_data) { JSON.parse(json) } | ||||
|   let(:paginator) { { "previous_page" => true, "previous_page_path" => "foo", "next_page" => true, "next_page_path" => "bar" } } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue