Skip to content

Conversation

@ianjosephwilson
Copy link
Contributor

  • Major changes
    • Improve and refactor tests for parser.py and processor.py
    • Non-literal aria and data attributes must now be None or an instance of dict
      • we can relax this later if it is a problem
    • Do not allow aria or data to be used as a TTemplatedAttribute
      • t'<div aria="{start}--{end}">' does not have a meaning right now
    • Allow None as an ignored value for spread attributes
      • should enable def my_comp(div_attrs=None): .... t'<div {div_attrs}></div>'
    • Adjacent TText tnodes are now "combined" during parsing

@davepeck davepeck merged commit f210a36 into t-strings:main Jan 12, 2026
1 check passed
@davepeck
Copy link
Contributor

Merged; thanks!

@ianjosephwilson ianjosephwilson deleted the ian/fine_tuning_after_attr_merge branch January 13, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants