Skip to content

Commit

Permalink
Fix issue mangini#15
Browse files Browse the repository at this point in the history
replaces Unicode quotation marks (fixes issue mangini#15)
  • Loading branch information
mangini committed Jun 25, 2013
1 parent eaf443a commit 97379cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions converttomarkdown.gapps
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ function processParagraph(index, element, inSrc, imageCounter, listCounters) {
pOut += processTextElement(inSrc, textElements[i]);
}

// replace Unicode quotation marks
pOut = pOut.replace('\u201d', '"').replace('\u201c', '"');

result.text = prefix+pOut;
}

Expand Down

0 comments on commit 97379cd

Please sign in to comment.