diff options
Diffstat (limited to 'ontology/webpage.osml')
-rw-r--r-- | ontology/webpage.osml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ontology/webpage.osml b/ontology/webpage.osml index e34eeb7..78044a8 100644 --- a/ontology/webpage.osml +++ b/ontology/webpage.osml @@ -121,11 +121,19 @@ \attribute#src[type=string] \primitive#alt[type=string] +% TODO: This is quiet ugly: We have two structures for basically the same +% semantics (except one is a block while the other is a primitive) -- is there +% some way to define this in a better way? + \struct#code[isa=block] + \attributes + \attribute#lang[type=string,default=""] \field \childRef[ref=primitive] \struct#inlineCode[isa=primitive] + \attributes + \attribute#lang[type=string,default=""] \field \childRef[ref=primitive] |