-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support dynamic charset change on meta
tags in HtmlRewriter
.
#162
Conversation
meta
tags in HtmlRewriter
.meta
tags in HtmlRewriter
.
2dc0790
to
175043c
Compare
src/rewriter/mod.rs
Outdated
use std::rc::Rc; | ||
use thiserror::Error; | ||
|
||
pub use self::settings::*; | ||
|
||
#[derive(Clone)] | ||
pub struct SharedEncoding { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move to base
dir
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Does it make sense to also move AsciiCompatibleEncoding
to base/encoding.rs
? We would export it in a different place so it is a breaking change...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, SharedEncoding
is not exported. It is only used internally. Do you still want to have it in the base
module?
No description provided.