DocBook: <person> is not valid per se, rather use <personname>.

The cleanest solution would still be <person><personname>, but this ought to be enough. Otherwise, that would imply having two tags for some fonts...
This commit is contained in:
Thibaut Cuvelier 2020-08-31 00:50:37 +02:00
parent b5312cf51f
commit bc9d3ec262

View File

@ -49,7 +49,7 @@ std::string fontToDocBookTag(xml::FontTypes type)
case xml::FontTypes::FT_BOLD:
return "emphasis";
case xml::FontTypes::FT_NOUN:
return "person";
return "personname";
case xml::FontTypes::FT_UBAR:
case xml::FontTypes::FT_WAVE:
case xml::FontTypes::FT_DBAR: