Permalink
Browse files

Also test for -- to em dashes at the beginning of lines.

  • Loading branch information...
chanks committed Jan 16, 2012
1 parent 91048f0 commit 8799d2bf0033ac4f5e6312e6f5929cea8dfd6571
Showing with 5 additions and 0 deletions.
  1. +5 −0 test/cases/parse_line.js
View
@@ -46,6 +46,11 @@ parse_line = [
'textile' : "My main point -- with a minor subthought -- was what again?",
'html' : "My main point — with a minor subthought — was what again?"
},
+ {
+ 'name' : "A double hyphen at the beginning of a line will also become an em dash.",
+ 'textile' : "-- Sincerely, Mr. Darcy.",
+ 'html' : "— Sincerely, Mr. Darcy."
+ },
{
'name' : "A hyphen betwixt two words will become an en dash.",
'textile' : "Hey - that reminds me of my other point - which is that you blow.",

0 comments on commit 8799d2b

Please sign in to comment.