This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7534 - TranscodingActionResizeImg: invalid regexp to remove </img> tags
Summary: TranscodingActionResizeImg: invalid regexp to remove </img> tags
Status: RESOLVED FIXED
Alias: None
Product: mobileOK authoring tools
Classification: Unclassified
Component: Transcoding (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Sylvain Lequeux
QA Contact: fd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-07 17:05 UTC by fd
Modified: 2009-09-08 08:29 UTC (History)
0 users

See Also:


Attachments

Description fd 2009-09-07 17:05:52 UTC
What is the "*" supposed to do in:
 $content = preg_replace("/\<\/img*\>/Usi", "", $content);

[ As a side note, an end tag may content a space before the final ">":
 http://www.w3.org/TR/xml/#NT-ETag ]