dbertoni    00/10/06 15:27:58

  Modified:    c/src/XMLSupport FormatterToHTML.cpp
  Log:
  Don't escape < and > in HTML attribute values.
  
  Revision  Changes    Path
  1.28      +5 -1      xml-xalan/c/src/XMLSupport/FormatterToHTML.cpp
  
  Index: FormatterToHTML.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XMLSupport/FormatterToHTML.cpp,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- FormatterToHTML.cpp       2000/10/02 20:06:14     1.27
  +++ FormatterToHTML.cpp       2000/10/06 22:27:57     1.28
  @@ -55,7 +55,7 @@
    * <http://www.apache.org/>.
    */
   /**
  - * $Id: FormatterToHTML.cpp,v 1.27 2000/10/02 20:06:14 dbertoni Exp $
  + * $Id: FormatterToHTML.cpp,v 1.28 2000/10/06 22:27:57 dbertoni Exp $
    * 
    * $State: Exp $
    * 
  @@ -242,6 +242,10 @@
        FormatterToXML::initAttrCharsMap();
   
        m_attrCharsMap[XalanUnicode::charLF] = 'S';
  +
  +     // These should _not_ be escaped...
  +     m_attrCharsMap[XalanUnicode::charLessThanSign] = 0;
  +     m_attrCharsMap[XalanUnicode::charGreaterThanSign] = 0;
   
        for(unsigned int i = 160; i < SPECIALSSIZE; i++)
        {
  
  
  

Reply via email to