Skip to content
Browse files

fixes

  • Loading branch information...
1 parent d927a88 commit a1c08e7e2be925b24af7596162471e3288cf2dff @iliakan committed Jul 6, 2011
Showing with 4 additions and 26 deletions.
  1. +2 −0 about/format.html
  2. +1 −25 engine/libs/simpleDown.js
  3. +1 −1 engine/libs/tocBuilder.js
View
2 about/format.html
@@ -211,6 +211,8 @@
<pre>
[js run src="assets/my.js"][/js]
</pre>
+ ADD: UNTRUSTED (force on another domain)
+
<p>The path is resolved relative to the current page. The absolute path is resolved relative to the book. External URLs like http://... are not allowed.</p>
View
26 engine/libs/simpleDown.js
@@ -49,30 +49,6 @@ function SimpleDown() {
};
this.makeCode = function(text) {
-//
-// * Backtick quotes are used for <code></code> spans.
-//
-// * You can use multiple backticks as the delimiters if you want to
-// include literal backticks in the code span. So, this input:
-//
-// Just type ``foo `bar` baz`` at the prompt.
-//
-// Will translate to:
-//
-// <p>Just type <code>foo `bar` baz</code> at the prompt.</p>
-//
-// There's no arbitrary limit to the number of backticks you
-// can use as delimters. If you need three consecutive backticks
-// in your code, use four for delimiters, etc.
-//
-// * You can use spaces to get literal backticks at the edges:
-//
-// ... type `` `bar` `` ...
-//
-// Turns to:
-//
-// ... type <code>`bar`</code> ...
-//
/*
text = text.replace(/
@@ -267,4 +243,4 @@ function SimpleDown() {
return text;
};
-}
+}
View
2 engine/libs/tocBuilder.js
@@ -14,7 +14,7 @@ function TocBuilder() {
if (item.level > level) {
text+='<ol>';
} else if (item.level < level) {
- text+='</li></ol>'
+ text+='</li></ol></li>'
}
}
level = item.level;

0 comments on commit a1c08e7

Please sign in to comment.
Something went wrong with that request. Please try again.