Skip to content
Snippets Groups Projects

fix for escaping tags names

Closed Marcin requested to merge mi_escape_tags into develop
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -101,7 +101,8 @@ class Posts(DbAdapterHolder):
@@ -101,7 +101,8 @@ class Posts(DbAdapterHolder):
tags = []
tags = []
if md and 'tags' in md and isinstance(md['tags'], list):
if md and 'tags' in md and isinstance(md['tags'], list):
tags = md['tags']
for tag in md['tags']:
 
tags.append( escape_characters( tag ) )
sql = """
sql = """
SELECT is_new_post, id, author_id, permlink_id, post_category, parent_id, community_id, is_valid, is_muted, depth
SELECT is_new_post, id, author_id, permlink_id, post_category, parent_id, community_id, is_valid, is_muted, depth
Loading