Fixed and closed #532: HTML in headers caused broken anchors.
This commit is contained in:
parent
5bd4cfdd02
commit
dec7469acf
2 changed files with 3 additions and 3 deletions
|
@ -16,5 +16,5 @@ using System.Reflection;
|
||||||
//
|
//
|
||||||
// You can specify all the values or you can default the Revision and Build Numbers
|
// You can specify all the values or you can default the Revision and Build Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
[assembly: AssemblyVersion("3.0.2.535")]
|
[assembly: AssemblyVersion("3.0.2.536")]
|
||||||
[assembly: AssemblyFileVersion("3.0.2.535")]
|
[assembly: AssemblyFileVersion("3.0.2.536")]
|
||||||
|
|
|
@ -2070,7 +2070,7 @@ namespace ScrewTurn.Wiki {
|
||||||
// '=== Title ===' results in '<a id="Title">' instead of '<a id="_Title_">'
|
// '=== Title ===' results in '<a id="Title">' instead of '<a id="_Title_">'
|
||||||
if(h != null) h = h.Trim();
|
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(".", "");
|
sb.Replace(".", "");
|
||||||
sb.Replace(",", "");
|
sb.Replace(",", "");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue