Browse Source

Change extension to html

pull/34/head
Seemant Rajvanshi 10 years ago
parent
commit
23372f048b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/DocNet/SimpleNavigationElement.cs

+ 1
- 1
src/DocNet/SimpleNavigationElement.cs View File

@@ -212,7 +212,7 @@ namespace Docnet
_targetURLForHTML = (this.Value ?? string.Empty);
if(_targetURLForHTML.ToLowerInvariant().EndsWith(".md"))
{
_targetURLForHTML = _targetURLForHTML.Substring(0, _targetURLForHTML.Length-3) + ".htm";
_targetURLForHTML = _targetURLForHTML.Substring(0, _targetURLForHTML.Length-3) + ".html";
}
_targetURLForHTML = _targetURLForHTML.Replace("\\", "/");
}


Loading…
Cancel
Save