Elchi3 / mdn-doc-tests

:no_entry_sign: UNMAINTAINED :no_entry_sign: This used to check MDN docs against some tests and cleanup tasks while editing, but add-on SDK based add-ons are obsolete. Use https://github.com/mdn/doc-linter-webextension and https://github.com/mdn/doc-linter-rules instead.
Mozilla Public License 2.0
10 stars 8 forks source link

Spurious “Macro syntax error” for /en-US/docs/Web/HTML/Element #229

Closed sideshowbarker closed 7 years ago

sideshowbarker commented 7 years ago

https://developer.mozilla.org/en-US/docs/Web/HTML/Element$edit causes the documentation tester to emit 8 “Macro syntax error” messages: 4 “Macro is missing a closing curly brace” errors and 4 “String parameter is not quoted correctly” errors.

But is seems there are actually no macro syntax errors in the source of that article. Instead, the cases the documentation tester is flagging seem to be valid ones that look like this:

<p>{{HTMLRefTable({"include":["HTML embedded content"], "exclude":["multimedia"]})}}</p>

I guess the macro parser in the documentation tester is not dealing correctly with the nesting or the bracketed array syntax.

Elchi3 commented 7 years ago

Duplicate of #139