mbakeranalecta / sam

Semantic Authoring Markdown
Other
79 stars 8 forks source link

Resolving string defs does not respect string scoping rules #169

Closed mbakeranalecta closed 6 years ago

mbakeranalecta commented 6 years ago

The resolution of strings in HTML output mode does not respect the string scoping rules. Rather than building a list of string defs with string_defs() and indexing into it, we should have a function similar to object_by_id() that is context sensitive in how it resolves strings. (traversing the tree upward from the current location might be sufficient, but have to think about strings that are defined later in the document.)

mbakeranalecta commented 6 years ago

Fixed since before 3e9b8f6fd8cddf9cbedb25c44ab48323216ce71e