speced / bikeshed

:bike: A preprocessor for anyone writing specifications that converts source files into actual specs.
https://speced.github.io/bikeshed
Creative Commons Zero v1.0 Universal
1.1k stars 199 forks source link

Linking error on attribute that has backticks for inline code formatting #2621

Open shaseley opened 1 year ago

shaseley commented 1 year ago

I had to change:

 1. Let |document| be |global|'s <a attribute for="Window">associated `Document`</a>

to

1. Let |document| be |global|'s <a attribute for="Window">associated <code>Document</code></a>

in an unrelated PR to fix a linker error (looks like it's not stripping the backticks). The previous version worked on 3.13.1 and failed on 3.14.3, but I didn't bisect. Not sure if it matters, but there's a custom definition for the linking here.

tabatkins commented 1 year ago

Ah, indeed, I'm picking up the raw text there, interesting. I'll poke around and see what needs to be done.

(Note, tho, that attribute is a WebIDL dfn type, referring to WebIDL attributes (aka JS properties); "associated Document" should just be a <dfn dfn for=Window>. That doesn't affect this bug, tho.)

melaasar commented 1 year ago

In version 3.14.3, the code that is between backticks within <pre class=include> files are not converted into code style. But backticked code in the root bs file is converted correctly to code style.