Changeset 1905


Ignore:
Timestamp:
07/24/07 15:25:38 (12 years ago)
Author:
gabor
Message:

ref #1446

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LeMillTool.py

    r1898 r1905  
    562562    def addBreaksToText(self, bodyText): 
    563563        """When a text is created without Kupu (for example in Safari) the new line characters must be replaced with </ br> tags but the previous tags must be taken into account, too.""" 
    564         breaklist = ('</h2>', '</p>', '<br />', '</pre>', '</ul>', '</ol>', '</li>', '</h3>', '</h4>', '<br/>', '<br>') 
     564        breaklist = ('</h2>', '</p>', '<br />', '</pre>', '</ul>', '</ol>', '</li>', '<h2>', '<p>', '<pre>', '<ul>', '<ol>', '<li>') 
    565565        l = [] 
    566566        pos2 = 0 
Note: See TracChangeset for help on using the changeset viewer.