Navigation Menu

Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Commit

Permalink
Fix bug with coffee script 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
stayradiated committed Feb 8, 2014
1 parent e9eeb98 commit 83e34f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/scripts/views/task_item.coffee
Expand Up @@ -102,11 +102,12 @@ class TaskItem extends Base.View
@el.addClass('p' + @task.priority)

updateName: =>
@ui.name.html @task.name
text = @task.name
.replace(/&/g, '&')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;')
.replace(/#(\w+)/g, ' <span class="tag">#$1</span>')
@ui.name.html(text)

# ---------------------------------------------------------------------------
# TAGS
Expand Down

0 comments on commit 83e34f1

Please sign in to comment.