Skip to content

Commit 16bab41

Browse files
committed
chore: add debug log to img handler
1 parent 367daaf commit 16bab41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/challenge.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ impl TagHandler for ImgHandler {
125125
let src = get_tag_attr(tag, "src").unwrap_or_default();
126126
let alt = get_tag_attr(tag, "alt");
127127

128+
console_debug!("SRC image content: {src}");
129+
console_debug!("ALT image content: {alt:?}");
130+
128131
if let Some(alt) = alt {
129132
printer.append_str(&format!("![{}]({})", alt, &src));
130133
} else {

0 commit comments

Comments
 (0)