n:name and n:attr synergy
Notice: This thread is very old.

- David Grudl
- Nette Core | 8285
n:attr should be fixed to not create duplicated attributes here https://github.com/…reMacros.php#L294
using ->addAttributes(%var) &
array_fill_keys(array_keys($node->htmlNode->attrs), NULL),
exactly as here https://github.com/…rmMacros.php#L164.
Fixing combination of n:name & n:attr requires to change $node->htmlNode->attrs