web2py-template / new_template.py

Author Commit Message Labels Comments Date
Default avatar Álvaro Justen - Turicas
Removed spaces on "{{ = something }}"
Default avatar Álvaro Justen - Turicas
Added one test on python indentation (putting spaces on python commands) - it was just passing! \o/
Default avatar Álvaro Justen - Turicas
code_to_parse now on timetest.py
Default avatar Álvaro Justen - Turicas
Python code should be striped()
Default avatar Álvaro Justen - Turicas
Added timetest
Default avatar Álvaro Justen - Turicas
Added test to verify HTML entities
Default avatar Álvaro Justen - Turicas
Added more 2 tests on comment issues: if we have just comment inside a template tag it should return an empty string
Default avatar Álvaro Justen - Turicas
Changed the behaviour of comments: if "}}" is read (even in a comment), it stops the comment context and get out of Python code
Default avatar Álvaro Justen - Turicas
Corrected the behaviour of \n on tests and on code.
Default avatar Álvaro Justen - Turicas
Solved issues with newlines on HTML. Probably all things related to {{...}} and {{=...}} are done. Next steps: implement web2py "extend", "include" and "block" keywords
Default avatar Álvaro Justen - Turicas
Added keywords continue and return - now these two keywords unindent code
Default avatar Álvaro Justen - Turicas
Now I think all multiline issues on {{=...}} are tested and solved!
Default avatar Álvaro Justen - Turicas
Solved some issues on multlines and quotes on HTML code. Still failing in some multiline cases on python code (using {{=...}})
Default avatar Álvaro Justen - Turicas
unindent on break; added tests on backslahes
Default avatar Álvaro Justen - Turicas
More tests and implementation on indentation/unindentation issues
Default avatar Álvaro Justen - Turicas
I think reindention is working fine. :)
Default avatar Álvaro Justen - Turicas
Added elif
Default avatar Álvaro Justen - Turicas
if-else indenting
Default avatar Álvaro Justen - Turicas
Almost all corner cases on {{ and }} are tested and passing; need better test names
Default avatar Álvaro Justen - Turicas
initial commit
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.