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