This project has moved. For the latest updates, please go here.

Untitled Tables and Section Indenting

Topics: User Forum
Oct 11, 2010 at 12:30 AM

Hi, I was creating some custom conceptual content (my own template) and I was having a problem where one help section (<section>) would appear indented within the previous section. I tracked the problem down to the previous help section having a table (<table>) that did NOT have a title element. The following html was being generated in the help file:

<div class="caption" />

Which I believe is illegal html. I'm guessing the display issue was the browser renderer getting confused by the above html. In any case, adding an empty <title> entry cleared up the problem.

I am using: Help File Builder Utilities version 

Joe McLain

Oct 13, 2010 at 7:38 PM

The Sandcastle transformations are probably assuming a <title> element is always present.  Can you post the relevant MAML that was causing the issue?  It shouldn't be too hard to track down where it's rendering the empty <div> and make it conditional on the title being present if it's an optional element based on the schema.