@@ -331,7 +331,7 @@ static void SetProperties(const rapidjson::Document& document, std::string eleme
331
331
/* ***************************************************************************************/
332
332
/* ***************************************************************************************/
333
333
334
- static lambda_t html = [](const Properties& properties, std::string& filtered, std::string& css_id )
334
+ static lambda_t html = [](const Properties& properties, std::string& filtered, std::string& css_class )
335
335
{
336
336
if (properties.size () > 0 ) {
337
337
@@ -345,7 +345,7 @@ static lambda_t html = [](const Properties& properties, std::string& filtered, s
345
345
if (not parentTitle.empty () || not bookmark_target.empty ()) {
346
346
filtered += " <h3 id=\" " + bookmark_target + " \" >" + parentTitle + " </h3>\n " ;
347
347
}
348
- filtered += " <table id =\" " + css_id + " \" >\n " ;
348
+ filtered += " <table class =\" " + css_class + " \" >\n " ;
349
349
filtered += " <tr><th>Field<th>Scope</th><th>Type</th><th>Description</th><th>Info</th></tr>\n " ;
350
350
351
351
// body
@@ -388,7 +388,7 @@ bool boilerplateCodeDoc::JsonSchema2HTML::operator()(const boilerplateCodeDoc::J
388
388
// std::string element {"#/properties/imp/items/properties/native"};
389
389
std::string element {" #" };
390
390
filtered = header;
391
- SetProperties (document, element, filtered, html, css_id );
391
+ SetProperties (document, element, filtered, html, css_class );
392
392
filtered += footer;
393
393
394
394
error = boilerplateCodeDoc::ParseErrorCode::OK;
0 commit comments