@cryzed--Thanks for pointing out the bug with fallback labels. It's a real corner case--you have to be practically trying to hit the fallback labels and it can only happen to CLI users who edit or delete defaults.ini, so thankfully it hasn't been biting many people.
The problem isn't really with getConfigList returning "['']", but with the fact BaseStoryWriter.writeTitlePage should have been checking for the existence of "<entry>_label" all along. It'll be fixed in the next version.
As for additional HTML included in titlepage_entries, OTOneH, you can accomplish the same thing by adding HTML to the label, like "description_label:<br/>Summary".
OTOtherH, simply outputting non-matching entries allows for some extra flexibility and readability, and will show typo'ed metadata entries that might otherwise escape notice.
So I'll go one better--rather than outputting anything in titlepage_entries that starts with '<', in the next version I'll output anything that isn't a valid metadata entry name. That way it will work with text format, too. Thanks for the suggestion.
Last edited by JimmXinu; 07-01-2012 at 01:17 AM.
|