Modify

Opened 5 years ago

Last modified 15 months ago

#6298 new defect

Inline html tags generate trac internal error

Reported by: gkarracer Owned by: rjollos
Priority: normal Component: MarkdownMacro
Severity: normal Keywords: Markdown ValueError
Cc: Trac Release: 0.11

Description

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\formatter.py", line 1114, in format_to_html
File "C:\Python26\lib\site-packages\trac-0.11.5-py2.6-win32.egg\trac\wiki\formatter.py", line 1069, in generate
File "C:\Python26\lib\site-packages\trac-0.11.5-py2.6-win32.egg\trac\wiki\formatter.py", line 847, in format
File "C:\Python26\lib\site-packages\trac-0.11.5-py2.6-win32.egg\trac\wiki\formatter.py", line 776, in handle_code_block
File "C:\Python26\lib\site-packages\trac-0.11.5-py2.6-win32.egg\trac\wiki\formatter.py", line 180, in process
File "C:\Python26\lib\site-packages\trac-0.11.5-py2.6-win32.egg\trac\wiki\formatter.py", line 167, in _macro_processor
File "build\bdist.win32\egg\Markdown\macro.py", line 60, in expand_macro
File "C:\Python26\lib\re.py", line 151, in sub
File "build\bdist.win32\egg\Markdown\macro.py", line 51, in convert
File "C:\Python26\lib\re.py", line 142, in search
File "C:\Python26\lib\re.py", line 238, in _compile

Attachments (0)

Change History (2)

comment:1 Changed 15 months ago by rjollos

  • Owner changed from dwclifton to rjollos
  • Status changed from new to assigned

comment:2 Changed 15 months ago by rjollos

  • Status changed from assigned to new

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.