Fixed and closed #532: HTML in headers caused broken anchors.

This commit is contained in:
Dario Solera 2010-05-01 10:35:11 +00:00
parent 5bd4cfdd02
commit dec7469acf
2 changed files with 3 additions and 3 deletions

View file

@ -16,5 +16,5 @@ using System.Reflection;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("3.0.2.535")]
[assembly: AssemblyFileVersion("3.0.2.535")]
[assembly: AssemblyVersion("3.0.2.536")]
[assembly: AssemblyFileVersion("3.0.2.536")]

View file

@ -2070,7 +2070,7 @@ namespace ScrewTurn.Wiki {
// '=== Title ===' results in '<a id="Title">' instead of '<a id="_Title_">'
if(h != null) h = h.Trim();
StringBuilder sb = new StringBuilder(StripWikiMarkup(h));
StringBuilder sb = new StringBuilder(StripWikiMarkup(StripHtml(h)));
sb.Replace(" ", "_");
sb.Replace(".", "");
sb.Replace(",", "");