"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/bbcodegenerator.cpp" between
ansifilter-2.17.tar.bz2 and ansifilter-2.18.tar.bz2

About: Ansifilter parses common ANSI codes to remove them or to convert them to another colored text file format (HTML, TeX, LaTeX, RTF, Pango or BBCode).

bbcodegenerator.cpp  (ansifilter-2.17.tar.bz2):bbcodegenerator.cpp  (ansifilter-2.18.tar.bz2)
skipping to change at line 84 skipping to change at line 84
if (tagIsOpen){ if (tagIsOpen){
if ( elementStyle.isUnderline() ) s << "[/u]"; if ( elementStyle.isUnderline() ) s << "[/u]";
if ( elementStyle.isItalic() ) s << "[/i]"; if ( elementStyle.isItalic() ) s << "[/i]";
if ( elementStyle.isBold() ) s << "[/b]"; if ( elementStyle.isBold() ) s << "[/b]";
if ( elementStyle.isFgColorSet() ) s << "[/color]"; if ( elementStyle.isFgColorSet() ) s << "[/color]";
} }
tagIsOpen = false; tagIsOpen = false;
return s.str(); return s.str();
} }
//[url=https://www.bbcode.org/]This be bbcode.org![/url]
string BBCodeGenerator::getHyperlink(string uri, string txt){
ostringstream os;
os <<"[url="<<uri<<"]"<<txt<<"[/url]";
return os.str();
}
string BBCodeGenerator::getHeader() string BBCodeGenerator::getHeader()
{ {
return ""; return "";
} }
string BBCodeGenerator::getFooter() string BBCodeGenerator::getFooter()
{ {
return ""; return "";
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)