mirror of https://github.com/zulip/zulip.git
b3cbb13a79
In this commit we modify our CSS parser not only to render the text from a given CSS tokens produced but also enforce 4 space indentation on it. Also we enforce some basic rules we would like our CSS to follow such as * Always have "\n" in between the starting of body({) and body itself and ending of the body and the closing of body(}). * Use 4 space indents while having but something within the block structure ( { .... } ). * Have single space after ',' in between multiple selectors. * Have only a single space in between selector and the starting of block structure ({ ... }) if block structure starts on same line as of selector. eg. body { body content here } Notice single space between 'body' and '{'. Fixes: #1659. |
||
---|---|---|
.. | ||
__init__.py | ||
api_tests.py | ||
capitalization.py | ||
css_parser.py | ||
find_add_class.py | ||
graph.py | ||
html_branches.py | ||
html_grep.py | ||
pretty_print.py | ||
provision.py | ||
sanity_check.py | ||
template_parser.py | ||
test_script.py | ||
test_server.py |