Commit d11ac498 authored by Claes Sjofors's avatar Claes Sjofors

Code tag in xtthelp files also displayed in html version

parent f25a5039
......@@ -74,6 +74,8 @@ address {font-family: Arial, Verdana;
font-style: normal;
margin-top: 0px;
margin-bottom: 0px}
code {
font-size: 12pt;}
body#mainmenu {
color: #4b6b95;
background-color: #ffffff;
......
......@@ -141,6 +141,12 @@ void *CnvXtthelpToHtml::insert( navh_eItemType item_type, const char *text1,
if ( !cf)
break;
if ( item_type == navh_eItemType_HelpCode && !in_table) {
cf->f << "<CODE>";
for ( const char *s = text1; s && *s == ' '; s++)
cf->f << "&nbsp;";
}
pwr_tFileName fname;
if ( strcmp( link, "") != 0) {
......@@ -193,6 +199,8 @@ void *CnvXtthelpToHtml::insert( navh_eItemType item_type, const char *text1,
cf->f << "<BR></A>" << endl;
else
cf->f << "<BR>" << endl;
if ( item_type == navh_eItemType_HelpCode)
cf->f << "</CODE>";
}
else {
cf->f << "<TR><TD>";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment