```
---
title: Break
---

This will [break quarto](hi.html#oh%20%no).
```

The error message is pretty terrible:

```
quarto render bad-url.qmd
pandoc
  to: html
  output-file: bad-url.html
  standalone: true
  section-divs: true
  html-math-method: mathjax
  wrap: none
  default-image-extension: png

metadata
  document-css: false
  link-citations: true
  date-format: long
  lang: en
  title: Break

ERROR: URIError: URI malformed

URIError: URI malformed
    at decodeURI (<anonymous>)
    at getDecodedAttribute (file:///Users/cscheid/repos/github/quarto-dev/quarto-cli/src/core/html.ts:24:12)
    at processFileResourceRefs (file:///Users/cscheid/repos/github/quarto-dev/quarto-cli/src/core/html.ts:128:18)
    at resolveResourceTag (file:///Users/cscheid/repos/github/quarto-dev/quarto-cli/src/core/html.ts:141:3)
    at file:///Users/cscheid/repos/github/quarto-dev/quarto-cli/src/core/html.ts:85:20
    at Array.forEach (<anonymous>)
...
```
cscheid
2022-11-07T18:19:06Z
cscheid
bug
v1.3
closed
Invalid URIs cause quarto to fail with bad error message
https://github.com/quarto-dev/quarto-cli/issues/3220