mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-06 09:39:30 -06:00
[bugfix] html escape special characters in text instead of totally removing them (#719)
* remove minify dependency * tidy up some tests * remove pre + postformat funcs * rework sanitization + formatting * update tests * add some more markdown tests
This commit is contained in:
parent
098dbe6ff4
commit
c84384e660
51 changed files with 129 additions and 7419 deletions
14
vendor/github.com/tdewolff/minify/v2/Dockerfile
generated
vendored
14
vendor/github.com/tdewolff/minify/v2/Dockerfile
generated
vendored
|
|
@ -1,14 +0,0 @@
|
|||
# Use this image to build the executable
|
||||
FROM golang:1.16-alpine AS compiler
|
||||
|
||||
RUN apk add --no-cache git ca-certificates make
|
||||
|
||||
WORKDIR $GOPATH/src/minify
|
||||
COPY . .
|
||||
|
||||
RUN /usr/bin/env bash -c make install
|
||||
|
||||
# Final image containing the executable from the previous step
|
||||
FROM alpine:3
|
||||
|
||||
COPY --from=compiler /bin/minify /bin/minify
|
||||
Loading…
Add table
Add a link
Reference in a new issue