diff --git a/README.md b/README.md index 12f1ed2..d837df3 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,11 @@ All features of upskirt are supported, including: known inputs that make it crash. If you find one, please let me know and send me the input that does it. + NOTE: "safety" in this context means *runtime safety only*. It is + not bullet proof against JavaScript injections, though we're working + on it (https://github.com/russross/blackfriday/issues/11 tracks the + progress). + * **Fast processing**. It is fast enough to render on-demand in most web applications without having to cache the output. diff --git a/html.go b/html.go index 38aceed..5a928b2 100644 --- a/html.go +++ b/html.go @@ -18,6 +18,7 @@ package blackfriday import ( "bytes" "fmt" + "regexp" "strconv" "strings" ) @@ -28,7 +29,7 @@ const ( HTML_SKIP_STYLE // skip embedded