From 084ed440d303be20f16201b8e2b83ab333d06af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz> Date: Fri, 1 Jan 2021 22:13:54 +0100 Subject: [PATCH] Bugfix --- .gitlab-ci.yml | 2 +- lib/CF/Schema/Result/Post.pm | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bdbcf8b..679e07e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ image: docker:19.03.1 variables: DOCKER_TLS_CERTDIR: "/certs" IMAGE_TAG: $CI_REGISTRY_IMAGE - IMAGE_VER: 1.2.0 + IMAGE_VER: 1.2.1 services: - docker:19.03.1-dind diff --git a/lib/CF/Schema/Result/Post.pm b/lib/CF/Schema/Result/Post.pm index a8bd7b6..7987dc1 100644 --- a/lib/CF/Schema/Result/Post.pm +++ b/lib/CF/Schema/Result/Post.pm @@ -55,6 +55,9 @@ __PACKAGE__->has_many( ); __PACKAGE__->inflate_column('content', { + inflate => sub ($content) { + return $content; + }, deflate => sub ($content) { # inline image $content = s/!\[.*?\]\(.+?\)//gs; -- GitLab