diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2015-02-19 16:35:09 +0000 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-05-04 23:57:51 +1200 |
commit | c83535bd423ac390187e0bace8fbda5f89eb0af4 (patch) | |
tree | 904b66d69aa1ba3f8d5638c2f60f229929a5f28b /templates | |
parent | 0f6c74b68bf87ba66370c01047189b25732ad560 (diff) | |
download | openembedded-core-contrib-c83535bd423ac390187e0bace8fbda5f89eb0af4.tar.gz |
templates/rrs/recipes.html: Fix url params in JS
Add parse with HTML entity to avoid problems when parameters
passed in URL to JS.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/rrs/recipes.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/rrs/recipes.html b/templates/rrs/recipes.html index 390e4224b9..0340b03425 100644 --- a/templates/rrs/recipes.html +++ b/templates/rrs/recipes.html @@ -163,8 +163,8 @@ th.headerSortDown { <script> $(document).ready(function() { recipesTable = $('#recipestable') - upstreamStatus = '{{ upstream_status }}' - maintainer = '{{ maintainer_name }}' + upstreamStatus = $("<div/>").html('{{ upstream_status }}').text() + maintainer = $("<div/>").html('{{ maintainer_name }}').text() function updateRecipeCount() { $('#recipestable').show() |