Changeset 1034


Ignore:
Timestamp:
09/13/08 13:07:18 (6 years ago)
Author:
ray
Message:

#1265 [TransformInnerHTML] Patch for correct handling of definition lists (dl, dt, dd)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/GetHtml/TransformInnerHTML.js

    r1025 r1034  
    201201                                replace(/(<[uod]l[^>]*>[\s\S]*?)<\/(li|dd|dt)>/g, '$1'). 
    202202                                replace(/\s*<\/(li|dd|dt)>(\s*<\/(li|dd|dt)>)+/g, '</$1>'). 
    203                                 replace(/(<dt[\s>][^<]*)(<\/d[dt]>)+/g, '$1</dt>'); 
     203                                replace(/(<dt[\s>][\s\S]*?)(<\/d[dt]>)+/g, '$1</dt>'); 
    204204                } 
    205205                if(Xinha.is_gecko) 
Note: See TracChangeset for help on using the changeset viewer.