Ticket #1484391: doctype.diff

File doctype.diff, 460 bytes (added by lancey, 9 months ago)

Patch that fixes the problem

  • program/steps/mail/func.inc

     
    11271127 
    11281128  // add comments arround html and other tags 
    11291129  $out = preg_replace(array( 
    1130       '/(<!DOCTYPE.+)/i', 
     1130      '/(<\/?!DOCTYPE[^>]*>)/i', 
    11311131      '/(<\/?html[^>]*>)/i', 
    11321132      '/(<\/?head[^>]*>)/i', 
    11331133      '/(<title[^>]*>.*<\/title>)/Ui',