Skip to content

Commit

Permalink
fix: fixed url parsing for types
Browse files Browse the repository at this point in the history
  • Loading branch information
ovflowd committed Aug 14, 2024
1 parent 4eb056d commit 06e9623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/queries.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ createQueries.QUERIES = {
normalizeTypes: /(\{|<)(?! )[a-zA-Z0-9.| \[\]\\]+(?! )(\}|>)/g,
// ReGex to match the type API type references that got already parsed
// so that they can be transformed into HTML links
linksWithTypes: /\[`<([a-zA-Z0-9.| \\[\]]+)>`\]\((.*)\)/,
linksWithTypes: /\[`<([a-zA-Z0-9.| \\[\]]+)>`\]\((\S+)\)/g,
// ReGeX for handling Stability Indexes Metadata
stabilityIndex: /^Stability: ([0-5])(?:\s*-\s*)?(.*)$/s,
// ReGeX for handling the Stability Index Prefix
Expand Down

0 comments on commit 06e9623

Please sign in to comment.