Fixed typo.

This commit is contained in:
Martin Edenhofer 2012-05-05 16:57:22 +02:00
parent 4703060ff7
commit 6b72116cc0

View file

@ -76,8 +76,8 @@ class Index extends App.Controller
notify = "<a href=\"#\" style=\"color:blue\" class=\"show_toogle\">" + T('See more') + "</a>" notify = "<a href=\"#\" style=\"color:blue\" class=\"show_toogle\">" + T('See more') + "</a>"
@article_changed = false @article_changed = false
article['html'] = article['html'].replace /^(--|__)/m, (match) => article['html'] = article['html'].replace /^(--|__)/m, (match) =>
notify + '<div class="hide">' + match
@article_changed = true @article_changed = true
notify + '<div class="hide">' + match
if @article_changed if @article_changed
article['html'] = article['html'] + '</div>' article['html'] = article['html'] + '</div>'