Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove unused References

  • Loading branch information...
commit 8d50d226659c0727d5873909f7f29904f64b2699 1 parent e51a41d
Eric Hodel authored
4  pegdown.kpeg
@@ -663,10 +663,6 @@ RefTitleDouble = Spnl "\"" < ( !("\"" Sp Newline | Newline) . )* > "\"" { text }
663 663
 
664 664
 RefTitleParens = Spnl "(" < ( !(")" Sp Newline | Newline) . )* > ")" { text }
665 665
 
666  
-References = StartList:a
667  
-             ( b:reference { raise " a = cons(b, a); " } | SkipBlock )*
668  
-             { raise " references = reverse(a); " }
669  
-
670 666
 Ticks1 = "`" !"`"
671 667
 Ticks2 = "``" !"`"
672 668
 Ticks3 = "```" !"`"
2  test/test_pegdown.rb
@@ -201,7 +201,7 @@ def test_parse_image
201 201
     assert_equal expected, doc
202 202
   end
203 203
 
204  
-  def test_parse_line_braek
  204
+  def test_parse_line_break
205 205
     doc = parse "Some text  \nwith extra lines"
206 206
 
207 207
     expected = doc(

0 notes on commit 8d50d22

Please sign in to comment.
Something went wrong with that request. Please try again.