aboutsummaryrefslogtreecommitdiff
path: root/components/post-preview.sh
diff options
context:
space:
mode:
Diffstat (limited to 'components/post-preview.sh')
-rwxr-xr-xcomponents/post-preview.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/post-preview.sh b/components/post-preview.sh
index dbbf663..2708060 100755
--- a/components/post-preview.sh
+++ b/components/post-preview.sh
@@ -1,13 +1,13 @@
#!/bin/bash
-source $SCRIPT_DIR/utils/parse-article.sh
+DO_NOT_PROCESS_HTML=true source $SCRIPT_DIR/utils/parse-article.sh
cat <<POST
<section class="post-preview">
<div class="post-header-preview">
- <h5 class="post-title">$ stat -c "%w" \\<br/> &gt;&ensp;$ARTICLE_FILE</h5>
+ <h5 class="post-title">$ stat -c "%w" \\<br/> &gt;&ensp;$ARTICLE_FILE_SANITIZED</h5>
<small>$ARTICLE_BYTES</small> <br/>
- <time>$(stat --format="Criado em: %w" $ARTICLE_FILE)</time>
+ <time>$ARTICLE_TIME</time>
<ul class="tags">
$(