Modify

Opened 15 years ago

Closed 4 years ago

Last modified 4 years ago

#6298 closed defect (worksforme)

Inline html tags generate trac internal error

Reported by: Bill Buklis Owned by: Cinc-th
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 (5)

comment:1 Changed 12 years ago by Ryan J Ollos

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

comment:2 Changed 11 years ago by Ryan J Ollos

Status: assignednew

comment:3 Changed 5 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted

comment:4 Changed 4 years ago by Cinc-th

Owner: set to Cinc-th
Status: newassigned

comment:5 Changed 4 years ago by Cinc-th

Resolution: worksforme
Status: assignedclosed

Can't replicate the problem with current trunk (r18323).

Last edited 4 years ago by Cinc-th (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Cinc-th.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.