Skip to content

Commit

Permalink
FIX json export: fixed bug not stripping html tags from output
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Boesl committed May 23, 2014
1 parent b3b086e commit 80fe28b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .werks/923
@@ -0,0 +1,8 @@
Title: json export: fixed bug not stripping html tags from output
Level: 2
Component: multisite
Version: 1.2.4p3
Date: 1400855385
Class: fix


1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -11,6 +11,7 @@

Multisite:
* 0912 FIX: Multisite Views: Fixed bug where custom views could not get deleted
* 0923 FIX: json export: fixed bug not stripping html tags from output

WATO:
* 0971 FIX: Fix missing authentication of PHP addons in D-WATO when activation mode is reload...
Expand Down
2 changes: 1 addition & 1 deletion web/plugins/views/webservice.py
Expand Up @@ -99,7 +99,7 @@ def render_json(rows, view, group_painters, painters, num_columns, show_checkbox
content = str(content)
content = content.replace("<br>","\n")
stripped = html.strip_tags(content)
html.write(encode_string_json(content))
html.write(encode_string_json(stripped))
html.write("]")

html.write("\n]\n")
Expand Down

0 comments on commit 80fe28b

Please sign in to comment.