Skip to content

Commit bbd261a

Browse files
committed
Revert to using genshi.builder.tag because the code is not yet compatible with trac.util.html.tag
genshi.builder.tag converts attribute names like 'data_base_url' to 'data-base-url' which makes them accessible by jQuery's .data() API. trac.util.html.tag does not do that. fixes regression in fa7cdff
1 parent aa945a8 commit bbd261a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code_comments/subscription.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
from trac.admin import IAdminCommandProvider
77
from trac.attachment import Attachment, IAttachmentChangeListener
88
from trac.core import Component, implements
9-
from trac.util.html import html as tag
109
from trac.versioncontrol import (
1110
RepositoryManager, NoSuchChangeset, IRepositoryChangeListener)
1211
from trac.web.api import HTTPNotFound, IRequestHandler, ITemplateStreamFilter
1312

13+
from genshi.builder import tag
1414
from genshi.filters import Transformer
1515

1616
from code_comments.api import ICodeCommentChangeListener

0 commit comments

Comments
 (0)