Skip to content
Snippets Groups Projects
Commit ccd0ea72 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH: add missing close balise

parent 3cb9706b
Branches
Tags
No related merge requests found
...@@ -189,6 +189,7 @@ void ApplicationHtmlDocGenerator::GetDocParameters( const Application::Pointer a ...@@ -189,6 +189,7 @@ void ApplicationHtmlDocGenerator::GetDocParameters( const Application::Pointer a
} }
else else
{ {
oss << "<li>";
otbDocHtmlBodyBoldCodeMacro( std::string("[param] ").append( param->GetName() ).append(":")); otbDocHtmlBodyBoldCodeMacro( std::string("[param] ").append( param->GetName() ).append(":"));
otbDocHtmlBodyMacro( param->GetDescription() ); otbDocHtmlBodyMacro( param->GetDescription() );
oss << "</li>"; oss << "</li>";
...@@ -263,11 +264,11 @@ void ApplicationHtmlDocGenerator::GetDocParameterChoice( const Application::Poin ...@@ -263,11 +264,11 @@ void ApplicationHtmlDocGenerator::GetDocParameterChoice( const Application::Poin
{ {
itkGenericExceptionMacro("Invalid parameter type for key "<<key<<", wait for ChoiceParameter..."); itkGenericExceptionMacro("Invalid parameter type for key "<<key<<", wait for ChoiceParameter...");
} }
ChoiceParameter * choice = dynamic_cast<ChoiceParameter *>(paramCh); ChoiceParameter * choice = dynamic_cast<ChoiceParameter *>(paramCh);
const std::vector<std::string> appKeyList = choice->GetChoiceKeys(); const std::vector<std::string> appKeyList = choice->GetChoiceKeys();
unsigned int nbOfParam = choice->GetNbChoices(); unsigned int nbOfParam = choice->GetNbChoices();
itk::OStringStream oss; itk::OStringStream oss;
oss<<"<ul>"; oss<<"<ul>";
for( unsigned int i=0; i<nbOfParam; i++ ) for( unsigned int i=0; i<nbOfParam; i++ )
{ {
......
...@@ -183,7 +183,7 @@ QWidget* QtWidgetView::CreateDoc() ...@@ -183,7 +183,7 @@ QWidget* QtWidgetView::CreateDoc()
text->setDocument(doc); text->setDocument(doc);
std::cout<<text->toHtml().toStdString()<<std::endl; //std::cout<<text->toHtml().toStdString()<<std::endl;
return text; return text;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment