-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
FutureDeferred for future standardizationDeferred for future standardizationtest-suiteIssue pertains to testsIssue pertains to testsu-namespaceIssue pertains to items in the u: namespaceIssue pertains to items in the u: namespace
Description
In u-options.json
we have the following test case:
{
"src": "{#tag u:dir=rtl u:locale=ar}content{/ns:tag}",
"exp": "content",
"expErrors": [{ "type": "bad-option" }, { "type": "bad-option" }],
"expParts": [
{
"type": "markup",
"kind": "open",
"name": "tag"
},
{
"type": "literal",
"value": "content"
},
{
"type": "markup",
"kind": "close",
"name": "ns:tag"
}
]
},
I think there should not be any error here.
Implementations are free to use markdown as needed, as friendly as possible for the environment where they are used.
The markdown is largely left unspecified.
We don't say what options are valid or not.
I guess in the test above the expErrors
is caused by u:dir=rtl
and u:locale=ar
?
These are in fact very useful options to have in markdown.
If one uses the MF2 markdown to produce html then these options map very naturally to dir
and lang
.
Metadata
Metadata
Assignees
Labels
FutureDeferred for future standardizationDeferred for future standardizationtest-suiteIssue pertains to testsIssue pertains to testsu-namespaceIssue pertains to items in the u: namespaceIssue pertains to items in the u: namespace