Solved partially bug https://bugs.launchpad.net/appy/+bug/394258 (rendering of the content of style tags)
This commit is contained in:
parent
b4d2360d6f
commit
bdb220716c
4 changed files with 1583 additions and 1546 deletions
3103
pod/test/Tests.rtf
3103
pod/test/Tests.rtf
File diff suppressed because it is too large
Load diff
16
pod/test/contexts/XhtmlWithStyle.py
Executable file
16
pod/test/contexts/XhtmlWithStyle.py
Executable file
|
@ -0,0 +1,16 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
xhtmlInput = '''
|
||||
<p><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8" /><title></title><meta name="GENERATOR" content="OpenOffice.org 3.0 (Win32)" /><style type="text/css">
|
||||
<!--
|
||||
@page { margin: 2cm }
|
||||
P { margin-bottom: 0.21cm }
|
||||
-->
|
||||
</style>
|
||||
<p>concepteurs de normes : membres des
|
||||
cabinets ministériels et les administrations.</p>
|
||||
<p><br /><br /></p>
|
||||
<p>Laurent, membre du cabinet du Ministre
|
||||
de l'énergie, doit rédiger un arrêté du Gouvernement wallon
|
||||
relatif à l'octroi d'une prime à l'isolation. Il peut télécharger
|
||||
le canevas typ</p>
|
||||
</p>'''
|
BIN
pod/test/results/xhmlIgnoreStyles.odt
Normal file
BIN
pod/test/results/xhmlIgnoreStyles.odt
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue