Skip to content

Commit

Permalink
fix(Templating): #256 use original attribute name case
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmil committed May 15, 2022
1 parent 7c18790 commit b129400
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Bolero.Templating.Provider/Parsing.fs
Expand Up @@ -373,6 +373,7 @@ let ParseDoc (filename: option<string>) (doc: HtmlDocument) : ParsedTemplates =
let GetDoc (fileOrContent: string) (rootFolder: string) : option<string> * HtmlDocument =
let doc = HtmlDocument()
doc.OptionOutputOriginalCase <- true
doc.OptionDefaultUseOriginalName <- true
if fileOrContent.Contains("<") then
doc.LoadHtml(fileOrContent)
None, doc
Expand Down

0 comments on commit b129400

Please sign in to comment.