mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing tag stripping in content previews.
This commit is contained in:
parent
d034830007
commit
16caa91457
2 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ def autologin(request, username, secret):
|
|||
else:
|
||||
return HttpResponseRedirect(reverse('index'))
|
||||
|
||||
@ratelimit(minutes=1, requests=24)
|
||||
@ratelimit(minutes=1, requests=60)
|
||||
@never_cache
|
||||
@json.json_view
|
||||
def load_feeds(request):
|
||||
|
|
2
media/js/vendor/inflector.js
vendored
2
media/js/vendor/inflector.js
vendored
|
@ -167,7 +167,7 @@ window.Inflector = {
|
|||
|
||||
// From Prototype.js. Strip out HTML tags.
|
||||
stripTags : function(s) {
|
||||
return $('<p>' + s + '</p>').text();
|
||||
return _.string.escapeHTML($('<p>' + s + '</p>').text());
|
||||
},
|
||||
|
||||
escapeRegExp : function(s) {
|
||||
|
|
Loading…
Add table
Reference in a new issue