hq-grapher-web 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/hq/grapher-web/handler.rb +3 -3
- metadata +1 -1
@@ -49,7 +49,7 @@ class Handler
|
|
49
49
|
|
50
50
|
graph_elem =
|
51
51
|
@config_elem.find_first("
|
52
|
-
graph [@name = #{
|
52
|
+
graph [@name = #{esc_xp graph_name}]
|
53
53
|
")
|
54
54
|
|
55
55
|
template_name =
|
@@ -57,12 +57,12 @@ class Handler
|
|
57
57
|
|
58
58
|
template_elem =
|
59
59
|
@config_elem.find_first("
|
60
|
-
template [@name = #{
|
60
|
+
template [@name = #{esc_xp template_name}]
|
61
61
|
")
|
62
62
|
|
63
63
|
scale_elem =
|
64
64
|
@config_elem.find_first("
|
65
|
-
scale [@name = #{
|
65
|
+
scale [@name = #{esc_xp scale_name}]
|
66
66
|
")
|
67
67
|
|
68
68
|
scale_steps = scale_elem.attributes["steps"].to_i
|