
cr-documentor - issue #27
Language-specific CSS not activated in Sandcastle preview style
What steps will reproduce the problem? 1. Create a VB project. 2. Add some XML documentation and include <see langword="null" /> 3. Preview the documentation in CR_Documentor.
What is the expected output? What do you see instead? Expect the <see langword="null" /> to render as "Nothing" in the VB project; instead see "null" as if it were C#.
The reason for this is that the Sandcastle preview style uses language-specific CSS to show/hide elements based on the selected language. While the dropdown list indicating the language has been fixed to the native document language (code language), the script that executes to switch from C# to whatever language is not being executed.
The preview needs to be updated to either only include the language-specific elements for the given document language OR the script to change visibility needs to be executed.
Comment #1
Posted on Mar 9, 2010 by Helpful Wombat(No comment was entered for this change.)
Comment #2
Posted on Mar 11, 2010 by Helpful Wombat(No comment was entered for this change.)
Comment #3
Posted on Mar 12, 2010 by Helpful WombatAdded a small JS block to the end of the preview HTML document to toggle visibility of the appropriate CSS elements. Tested in both C# and VB.
Status: Fixed
Labels:
Type-Defect
Priority-High