1.1 --- a/noteobj.cpp Tue Jul 17 11:19:51 2007 +0000
1.2 +++ b/noteobj.cpp Thu Aug 09 18:34:08 2007 +0000
1.3 @@ -174,13 +174,10 @@
1.4 int sl=s.length();
1.5 if (s.count("style=\"")>1)
1.6 {
1.7 - cout << "note: s="<<s.ascii()<<endl;
1.8 QRegExp rx("style=\\s*\"(.*)\"\\s*style=\\s*\"(.*)\"");
1.9 rx.setMinimal (true);
1.10 s.replace(rx,"style=\"\\1 \\2\"");
1.11 - cout << " new: "<<s.ascii()<<endl;
1.12 n.replace (begin_bracket,sl,s);
1.13 - cout << "pos="<<pos<<" bb="<<begin_bracket<<" s1l="<<sl<<" s2l="<<s.length()<<endl<<endl;
1.14 pos=pos-(sl-s.length());
1.15 }
1.16 }