diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 5ae753cc..00f1f69d 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,5 +1,10 @@ # Changelog +## 20.0.0-alpha-016 - 2023-12-07 + +### Fixed +* Use empty replacement for `{{fsdocs-meta-tags}` in API doc pages. [#892](https://github.com/fsprojects/FSharp.Formatting/pull/892) + ## 20.0.0-alpha-015 - 2023-12-06 ### Fixed diff --git a/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs b/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs index f6176fb6..5190acaf 100644 --- a/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs +++ b/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs @@ -663,10 +663,11 @@ type HtmlRender(model: ApiDocModel, ?menuTemplateFolder: string) = [| yield! parameters yield (ParamKeys.``fsdocs-list-of-namespaces``, toc) yield (ParamKeys.``fsdocs-content``, content.ToString()) - yield (ParamKeys.``fsdocs-source``, "") - yield (ParamKeys.``fsdocs-tooltips``, "") + yield (ParamKeys.``fsdocs-source``, String.Empty) + yield (ParamKeys.``fsdocs-tooltips``, String.Empty) yield (ParamKeys.``fsdocs-page-title``, pageTitle) yield (ParamKeys.``fsdocs-page-content-list``, PageContentList.EmptyContent) + yield (ParamKeys.``fsdocs-meta-tags``, String.Empty) yield! globalParameters |] let collection = model.Collection