summaryrefslogtreecommitdiff
path: root/src/directive/img.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/directive/img.rs')
-rw-r--r--src/directive/img.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directive/img.rs b/src/directive/img.rs
index e10851e..dea2625 100644
--- a/src/directive/img.rs
+++ b/src/directive/img.rs
@@ -12,7 +12,7 @@ pub struct Img {
impl Img {
pub const REQUIRED: &'static [&'static str] = &[];
- pub const ALLOWED: &'static [&'static str] = &["class"];
+ pub const ALLOWED: &'static [&'static str] = &["alt", "class", "link"];
pub const ALLOW_ANY_UNNAMED: bool = true;
pub fn new(src: String) -> Self {