\starttext
contextversie = \contextversion\blank
\type{\margindata{text}} gives een error.\blank
\type{\margindata[]{text1}}\letterpercent\ behaves as should be.\blank
\type{\margindata[]{text2}} does not but gives spurious whitespace.\blank
Tekst that will get data in the margin with \tex{margindata}.
Tekst that will get data in the margin with \tex{margindata}.
Tekst that will get data in the margin with \tex{margindata}.
\margindata{text1}%
Tekst that will get data in the margin with \tex{margindata}.
Tekst that will get data in the margin with \tex{margindata}.
Tekst that will get data in the margin with \tex{margindata}.
Tekst that will get data in the margin with \tex{margindata}.
\margindata[]{text2}
Tekst that will get data in the margin with \tex{margindata}.
Tekst that will get data in the margin with \tex{margindata}.
Tekst that will get data in the margin with \tex{margindata}.
Tekst that will get data in the margin with \tex{margindata}.
Tekst that will get data in the margin with \tex{margindata}.
Tekst that will get data in the margin with \tex{margindata}.
\stoptext
