Closed pawelma closed 6 years ago
@mpawel007,
Thanks for the patch. As you pointed out, this change is not backward compatible. I suggest to create a configuration flag (ex: ignore_attributes_on_content) and set it to 'true' to keep old behavior by default. In your case, you can set the flag to false to get the new behavior.
How does that sound?
Seems legit. I'll update pull request after work.
Hi @pawelma @cloocher is this going to be merged any time soon? :sweat_smile:
@pablocrivella I'll try to add backward compability this weekend.
@pawelma is there a way i could use your fork for now? i've been trying without luck
AFAIR you can clone my repo and checkout branch do_not_ignore_attributes and attributes should be in hash by default.
Great, thanks @pawelma
Hi. In my opinion when attributes are present in tag they always should be returned. I bumped major because changes can break hashes parsed by 0.0.x version.