use $().text() instead of .safeHtml for sourceSnudown
Merge pull request #1839 from erikdesjardins/fix-1836

use $().text() instead of .safeHtml for sourceSnudown