Learned to spell JavaScript.
This commit is contained in:
parent
7634393431
commit
67c43cbef0
|
@ -133,7 +133,7 @@ class Html_cleaner(HTMLParser):
|
||||||
return parsed[0] in self.allowed_schemes
|
return parsed[0] in self.allowed_schemes
|
||||||
|
|
||||||
def strip(self, rawstring):
|
def strip(self, rawstring):
|
||||||
"""Returns the argument stripped of potentially harmful HTML or Javascript code"""
|
"""Returns the argument stripped of potentially harmful HTML or JavaScript code"""
|
||||||
self.reset()
|
self.reset()
|
||||||
self.result = []
|
self.result = []
|
||||||
self.feed(rawstring)
|
self.feed(rawstring)
|
||||||
|
|
|
@ -729,7 +729,7 @@ class Notebooks( object ):
|
||||||
)
|
)
|
||||||
def download_html( self, notebook_id, user_id ):
|
def download_html( self, notebook_id, user_id ):
|
||||||
"""
|
"""
|
||||||
Download the entire contents of the given notebook as a stand-alone HTML page (no Javascript).
|
Download the entire contents of the given notebook as a stand-alone HTML page (no JavaScript).
|
||||||
|
|
||||||
@type notebook_id: unicode
|
@type notebook_id: unicode
|
||||||
@param notebook_id: id of notebook to download
|
@param notebook_id: id of notebook to download
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<h3>Luminotes requires Javascript</h3>
|
<h3>Luminotes requires JavaScript</h3>
|
||||||
|
|
||||||
So if you'd like to check out this site any further, please enable Javascript
|
So if you'd like to check out this site any further, please enable JavaScript
|
||||||
in your web browser, and then reload this page. Sorry for the inconvenience.
|
in your web browser, and then reload this page. Sorry for the inconvenience.
|
||||||
|
|
|
@ -28,7 +28,7 @@ class Error_page( Page ):
|
||||||
P(
|
P(
|
||||||
Strong( u"P.S." ),
|
Strong( u"P.S." ),
|
||||||
u"""
|
u"""
|
||||||
If Javascript isn't enabled in your browser, please enable it.
|
If JavaScript isn't enabled in your browser, please enable it.
|
||||||
""",
|
""",
|
||||||
),
|
),
|
||||||
class_ = u"error_box",
|
class_ = u"error_box",
|
||||||
|
|
Reference in New Issue