From 9674625655fe0cf10107cd082e3542eba2523ff7 Mon Sep 17 00:00:00 2001
From: Axel Naumann <Axel.Naumann@cern.ch>
Date: Thu, 22 May 2008 13:21:35 +0000
Subject: [PATCH] Ensure frames are not words when removing "decorative frames"
 in comments. Fixes issue with TGTableLayout

git-svn-id: http://root.cern.ch/svn/root/trunk@23969 27541ba8-7e3a-0410-8455-c3a389f83636
---
 html/src/TDocParser.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/html/src/TDocParser.cxx b/html/src/TDocParser.cxx
index a13c185a782..effe4141bd4 100644
--- a/html/src/TDocParser.cxx
+++ b/html/src/TDocParser.cxx
@@ -1899,6 +1899,7 @@ Bool_t TDocParser::ProcessComment()
 
    if (commentLine.Length() > 2 && Context() != kDirective)
       while (commentLine.Length() > 2
+             && !IsWord(commentLine[0])
              && commentLine[0] == commentLine[commentLine.Length() - 1])
          commentLine = commentLine.Strip(TString::kBoth, commentLine[0]);
    
-- 
GitLab