summaryrefslogtreecommitdiff
path: root/deviantion.go
diff options
context:
space:
mode:
Diffstat (limited to 'deviantion.go')
-rw-r--r--deviantion.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/deviantion.go b/deviantion.go
index 070caf4..288b0e2 100644
--- a/deviantion.go
+++ b/deviantion.go
@@ -142,7 +142,7 @@ func GetDeviation(id string, user string) (st Post, err Error) {
// базовая обработка описания
txt := st.Deviation.TextContent.Html.Markup
- if len(txt) > 0 && txt[1] == '{' {
+ if len(txt) > 1 && txt[1] == '{' {
var description struct {
Blocks []struct {
Text string