|
|
|
|
|
by cgrand-net
4962 days ago
|
|
By doing such a change they violates their contract. Can't you negotiate an alternative change? Eg the strong around the span or using styles instead of strong or move the username class to the strong tag? Anyway if you really want to program defensively against such changes, roll your own replacement to content fn which would replace the cornets not of the current node but of all its terminal descendants. I'd like to know more about your workflow. |
|
a) "Don't touch the markup without an explicit agreement between the two of us."
b) "Please make sure you have an element with a data-content-for='user.username' somewhere in the HTML."