You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am contributing to one of the posthtml's plugin htmlnano, and I have found maltsev/htmlnano#6.
In that feature request, htmlnano needs to implement a feature by removing optional attributes' quotes. But that behavior can not be done by the plugin, thus an implementation at the posthtml-render side has been made: posthtml/posthtml-render#30
Although quoteAllAttributes is now available to user configuration after posthtml/posthtml-render#30 is merged, but it is still not available for plugins. Thus there is still no way for htmlnano to control the behavior.
In the feature request, I want an API for plugins to modify the configuration. Take maltsev/htmlnano#6 as an example, if the user doesn't specific quoteAllAttributes to be enabled, htmlnano should be able to disable that option through the API. Also, plugins shouldn't override the configuration/behavior if the user is explicit so.
RT.
DetailsI am contributing to one of the posthtml's plugin htmlnano, and I have found maltsev/htmlnano#6.
In that feature request, htmlnano needs to implement a feature by removing optional attributes' quotes. But that behavior can not be done by the plugin, thus an implementation at the posthtml-render side has been made: posthtml/posthtml-render#30
Although
quoteAllAttributesis now available to user configuration after posthtml/posthtml-render#30 is merged, but it is still not available for plugins. Thus there is still no way for htmlnano to control the behavior.In the feature request, I want an API for plugins to modify the configuration. Take maltsev/htmlnano#6 as an example, if the user doesn't specific
quoteAllAttributesto be enabled, htmlnano should be able to disable that option through the API. Also, plugins shouldn't override the configuration/behavior if the user is explicit so.Reproduction (Code)Not applicable.
EnvironmentNot applicable.