Bugzilla – Attachment 111472 Details for
Bug 87601
HTML to DOCX hangs up if HTML contains "MsoHeader"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
HTML document fails to convert with a p class="MsoHeader"
Fails_to_convert_with_MsoHeader.html (text/html), 3.58 KB, created by
Fran Ontanaya
on 2014-12-29 14:49:19 UTC
(
hide
)
Description:
HTML document fails to convert with a p class="MsoHeader"
Filename:
MIME Type:
Creator:
Fran Ontanaya
Created:
2014-12-29 14:49:19 UTC
Size:
3.58 KB
patch
obsolete
> > <html xmlns:v="urn:schemas-microsoft-com:vml" > xmlns:o="urn:schemas-microsoft-com:office:office" > xmlns:w="urn:schemas-microsoft-com:office:word" > xmlns:m="http://schemas.microsoft.com/office/2006/01/omml" > xmlns="http://www.w3.org/TR/REC-html40"> > <head> > <meta http-equiv=Content-Type content="text/html; charset=utf-8"> > <style> > v\:* {behavior:url(#default#VML);} > o\:* {behavior:url(#default#VML);} > w\:* {behavior:url(#default#VML);} > .shape {behavior:url(#default#VML);} > </style> > <style> > @page > { > mso-page-orientation: portrait; > size:21cm 29.7cm; margin:1cm 1cm 1cm 1cm; > } > @page Section1 { > mso-header-margin:.5in; > mso-footer-margin:.5in; > mso-header: h1; > mso-footer: f1; > mso-bidi-font:Arial; > } > div.Section1 { page:Section1; } > table { > border-spacing: 0; > border-collapse: collapse; > font-size: 10.0pt; > } > td > { > border: 1px solid #000; > font-size:10.0pt; > font-family:Verdana,sans-serif; > margin-bottom:0.000cm; > vertical-align:top; > } > p.MsoFooter, li.MsoFooter, div.MsoFooter > { > margin:0in; > margin-bottom:.0001pt; > mso-pagination:widow-orphan; > tab-stops:center 3.0in right 6.0in; > font-size:10.0pt; > } > </style> > <xml> > <w:WordDocument> > <w:View>Print</w:View> > <w:Zoom>100</w:Zoom> > <w:DoNotOptimizeForBrowsertc2ms/> > </w:WordDocument> > </xml> > </head> > <body style="width:21.001cm;"> > <div class="Section1"> > <br> > <br> > <h1 style="mso-element:header;font-size:24.0pt;font-weight:normal;font-family:Verdana,sans-serif;color:#f00;" id="h1"> > <p class="MsoHeader"> > Your bug here > </p> > </h1> > <br> > <table width="700" cellpadding="6" style="border-collapse:collapse;"> > <tr> > <td width="200" border="1" style="font-weight:bold;">x</td> > <td width="500" style="font-weight:bold;">x</td> > </tr> > <tr> > <td style="font-weight:bold;">x</td> > <td style="font-weight:bold;">x</td> > </tr> > <tr> > <td style="font-weight:bold;">x</td> > <td style="font-weight:bold;">x</td> > </tr> > <tr> > <td style="font-weight:bold;">x</td> > <td style="font-weight:bold;">x</td> > </tr> > </table> > <br> > <table width="700" cellpadding="6" style="border:1px solid #bbb; border-collapse:collapse;"> ><tr><td width="50" style="border-bottom:1px solid #bbb;"></td><td width="110" style="border:1px solid #fff; border-bottom:1px solid #bbb;"></td><td width="540" style="border:1px solid #fff;border-bottom:1px solid #bbb;"></td></tr> > <tr> > <td width="50" style="border:1px solid #bbb;vertical-align:top;text-align:center;font-weight:bold;color:#666;">x</td> > <td width="110" style="border:1px solid #bbb;vertical-align:top;text-align:center;font-weight:bold;color:#666;">x</td> > <td width="540" style="border:1px solid #bbb;vertical-align:top;text-align:center;font-weight:bold;color:#666;">x</td> > </tr> > <tr><td style="border:1px solid #bbb;vertical-align:top;" width="50">x</td><td style="border:1px solid #bbb;vertical-align:top;" width="110">x</td><td style="border:1px solid #bbb;vertical-align:top;" width="540">x</td></tr> ><tr><td style="border:1px solid #bbb;vertical-align:top;" width="50">x</td><td style="border:1px solid #bbb;vertical-align:top;" width="110">x</td><td style="border:1px solid #bbb;vertical-align:top;" width="540">x</td></tr> ><tr><td style="border:1px solid #bbb;vertical-align:top;" width="50">x</td><td style="border:1px solid #bbb;vertical-align:top;" width="110">x</td><td style="border:1px solid #bbb;vertical-align:top;" width="540">x</td></tr> ></table> </div> > </body> > </html>
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2006/01/omml" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=utf-8"> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <style> @page { mso-page-orientation: portrait; size:21cm 29.7cm; margin:1cm 1cm 1cm 1cm; } @page Section1 { mso-header-margin:.5in; mso-footer-margin:.5in; mso-header: h1; mso-footer: f1; mso-bidi-font:Arial; } div.Section1 { page:Section1; } table { border-spacing: 0; border-collapse: collapse; font-size: 10.0pt; } td { border: 1px solid #000; font-size:10.0pt; font-family:Verdana,sans-serif; margin-bottom:0.000cm; vertical-align:top; } p.MsoFooter, li.MsoFooter, div.MsoFooter { margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; tab-stops:center 3.0in right 6.0in; font-size:10.0pt; } </style> <xml> <w:WordDocument> <w:View>Print</w:View> <w:Zoom>100</w:Zoom> <w:DoNotOptimizeForBrowsertc2ms/> </w:WordDocument> </xml> </head> <body style="width:21.001cm;"> <div class="Section1"> <br> <br> <h1 style="mso-element:header;font-size:24.0pt;font-weight:normal;font-family:Verdana,sans-serif;color:#f00;" id="h1"> <p class="MsoHeader"> Your bug here </p> </h1> <br> <table width="700" cellpadding="6" style="border-collapse:collapse;"> <tr> <td width="200" border="1" style="font-weight:bold;">x</td> <td width="500" style="font-weight:bold;">x</td> </tr> <tr> <td style="font-weight:bold;">x</td> <td style="font-weight:bold;">x</td> </tr> <tr> <td style="font-weight:bold;">x</td> <td style="font-weight:bold;">x</td> </tr> <tr> <td style="font-weight:bold;">x</td> <td style="font-weight:bold;">x</td> </tr> </table> <br> <table width="700" cellpadding="6" style="border:1px solid #bbb; border-collapse:collapse;"> <tr><td width="50" style="border-bottom:1px solid #bbb;"></td><td width="110" style="border:1px solid #fff; border-bottom:1px solid #bbb;"></td><td width="540" style="border:1px solid #fff;border-bottom:1px solid #bbb;"></td></tr> <tr> <td width="50" style="border:1px solid #bbb;vertical-align:top;text-align:center;font-weight:bold;color:#666;">x</td> <td width="110" style="border:1px solid #bbb;vertical-align:top;text-align:center;font-weight:bold;color:#666;">x</td> <td width="540" style="border:1px solid #bbb;vertical-align:top;text-align:center;font-weight:bold;color:#666;">x</td> </tr> <tr><td style="border:1px solid #bbb;vertical-align:top;" width="50">x</td><td style="border:1px solid #bbb;vertical-align:top;" width="110">x</td><td style="border:1px solid #bbb;vertical-align:top;" width="540">x</td></tr> <tr><td style="border:1px solid #bbb;vertical-align:top;" width="50">x</td><td style="border:1px solid #bbb;vertical-align:top;" width="110">x</td><td style="border:1px solid #bbb;vertical-align:top;" width="540">x</td></tr> <tr><td style="border:1px solid #bbb;vertical-align:top;" width="50">x</td><td style="border:1px solid #bbb;vertical-align:top;" width="110">x</td><td style="border:1px solid #bbb;vertical-align:top;" width="540">x</td></tr> </table> </div> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 87601
: 111472