Permalink
Browse files

Fix HTML5 validation errors, and bad examples

  • Loading branch information...
LadyCailin committed Aug 9, 2017
1 parent ca37199 commit d54eda9a34a110fb7ff2618b7f92fc58ff745d42
@@ -1426,7 +1426,7 @@ public Construct exec(Target t, Environment env, Construct... args) throws Cance
@Override
public String docs() {
return "boolean {var1, var2} Returns the results of a less than operation. Operator syntax"
+ " is also supported: @a < @b";
+ " is also supported: @a &lt; @b";
}
@Override
@@ -1493,7 +1493,7 @@ public Construct exec(Target t, Environment env, Construct... args) throws Cance
@Override
public String docs() {
return "boolean {var1, var2} Returns the result of a greater than operation. Operator syntax is also supported:"
+ " @a > @b";
+ " @a &gt; @b";
}
@Override
@@ -1560,7 +1560,7 @@ public Construct exec(Target t, Environment env, Construct... args) throws Cance
@Override
public String docs() {
return "boolean {var1, var2} Returns the result of a less than or equal to operation. Operator"
+ " syntax is also supported: @a <= @b";
+ " syntax is also supported: @a &lt;= @b";
}
@Override
@@ -1628,7 +1628,7 @@ public Construct exec(Target t, Environment env, Construct... args) throws Cance
@Override
public String docs() {
return "boolean {var1, var2} Returns the result of a greater than or equal to operation. Operator"
+ " sytnax is also supported: @a >= @b";
+ " sytnax is also supported: @a &gt;= @b";
}
@Override
@@ -1965,7 +1965,7 @@ public CBoolean execs(Target t, Environment env, Script parent, ParseTree... nod
public String docs() {
return "boolean {var1, [var2...]} Returns the boolean value of a logical OR across all arguments. Uses lazy"
+ " determination, so once an argument resolves to true, the function returns. Operator syntax is also"
+ " supported: @a <nowiki>||</nowiki> @b";
+ " supported: @a || @b";
}
@Override
@@ -1324,7 +1324,7 @@ public Construct exec(Target t, Environment env, Construct... args) throws Cance
+ "\tfor(assign(@j, 0), @j < 1000, @j++,\n"
+ "\t\tbreak(3) #There are only 2 loops to break out of\n"
+ "\t)"
+ ")"),};
+ ")", true),};
}
@Override
Oops, something went wrong.

0 comments on commit d54eda9

Please sign in to comment.