-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ace breaks when using tabs #25
Comments
Did you use a tab space as an indent? Ace templates' indent must be 2 spaces. |
Yes. normal spacing works fine, but tab space would give what ive shown above. |
Ace does not accept tab spaces as an indent. Please use normal spaces as an indent. |
Ok thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I do not know if this is an issue but I notice when I am using tabspaces, the rendering would break while for whitespaces it doesnt. When using tabs with one of the examples, it outputs
< head></ head>< meta charset="utf-8"></ meta>< title>HTML Tags</ title>< body></ body>< header></ header>< h1>HTML Tags</ h1>< section id="main-section" class="class1 class2 class3"></ section>< id="container"></ >< class="wrapper"></ >< div>Single text line can follow the tag name.</ div>< p> </ p>< This>is a block text.</ This>< BR>tags are inserted automatically.</ BR>< a href="https://github.com">Go to GitHub</ a>< input type="checkbox" checked></ input>< footer></ footer>< script> </ script>< var>msg = 'Hello Ace';</ var>< alert(msg);></ alert(msg);>
with the html itself looking like
< head></ head>< meta charset="utf-8"></ meta>< title>HTML Tags</ title>< body></ body>< header></ header>< h1>HTML Tags</ h1>< section id="main-section" class="class1 class2 class3"></ section>< id="container"></ >< class="wrapper"></ >< div>Single text line can follow the tag name.</ div>< p></ p>< This>is a block text.</ This>< BR>tags are inserted automatically.</ BR>< a href="https://github.com">Go to GitHub</ a>< input type="checkbox" checked></ input>< footer></ footer>< script>
</ script>< var>msg = 'Hello Ace';</ var>< alert(msg);></ alert(msg);>
(Sorry for the paste like this, pastebin and hastebin been acting up for me this current hour)
The text was updated successfully, but these errors were encountered: