Opened 9 years ago

Last modified 5 years ago

#6298 new defect

Inline html tags generate trac internal error

Reported by: Bill Buklis Owned by: Ryan J Ollos
Priority: normal Component: MarkdownMacro
Severity: normal Keywords: Markdown ValueError
Cc: Trac Release: 0.11


If any embedded inline html tags are included inside the markdown code, then trac/python generates the following error when processing:

ValueError: Cannot process flags argument with a compiled pattern

Recent call list:

File "C:\Python26\lib\site-packages\trac-0.11.5-py2.6-win32.egg\trac\wiki\templates\wiki_edit.html", line 56, in <Expression u'wiki_to_html(context(page.resource), page.text)'>
File "C:\Python26\lib\site-packages\trac-0.11.5-py2.6-win32.egg\trac\wiki\", line 1114, in format_to_html
File "C:\Python26\lib\site-packages\trac-0.11.5-py2.6-win32.egg\trac\wiki\", line 1069, in generate
File "C:\Python26\lib\site-packages\trac-0.11.5-py2.6-win32.egg\trac\wiki\", line 847, in format
File "C:\Python26\lib\site-packages\trac-0.11.5-py2.6-win32.egg\trac\wiki\", line 776, in handle_code_block
File "C:\Python26\lib\site-packages\trac-0.11.5-py2.6-win32.egg\trac\wiki\", line 180, in process
File "C:\Python26\lib\site-packages\trac-0.11.5-py2.6-win32.egg\trac\wiki\", line 167, in _macro_processor
File "build\bdist.win32\egg\Markdown\", line 60, in expand_macro
File "C:\Python26\lib\", line 151, in sub
File "build\bdist.win32\egg\Markdown\", line 51, in convert
File "C:\Python26\lib\", line 142, in search
File "C:\Python26\lib\", line 238, in _compile

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by Ryan J Ollos

Owner: changed from Douglas Clifton to Ryan J Ollos
Status: newassigned

comment:2 Changed 5 years ago by Ryan J Ollos

Status: assignednew

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Ryan J Ollos.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.