jbee/panda — Issue #8: Values in attributes
Author: jbee
Created: 2011-10-10 06:59:59+00:00
State: open

To keep it simple there can be a very basic support for replacement of dynamic values inside of HTML-attributes.

# Only support for reading variables + selectors
# The space followed by an `@` will mark the start of the expr that is replaced with the evaluated value
# The `@` is referencing a variable
# In case some static text should start with `@` it can be escaped with double `@@` (this will still invoke the resolution but its easy to recognise and return the argument with a single `@` as intended)