package journal_test import ( "context" "encoding/json" "fmt" "net/http" "os" "path/filepath" "strings" "testing" "time" "git.golem15.com/golem15/sm-journal-plugin/console" "git.golem15.com/golem15/sm-journal-plugin/controllers" "git.golem15.com/golem15/sm-journal-plugin/models" ) // translatedXSS is a translated content_html carrying an event handler and a // javascript URL. Stored verbatim it would reach anonymous readers through // the public posts API. const translatedXSS = `
Treść
Treść