Skip to content

add missing html tag "</p>" / clean-up template to get smaller and cleaner output - #470

Merged
chinyeungli merged 4 commits into
aboutcode-org:developfrom
ddmesh:develop
Aug 30, 2021
Merged

add missing html tag "</p>" / clean-up template to get smaller and cleaner output#470
chinyeungli merged 4 commits into
aboutcode-org:developfrom
ddmesh:develop

Conversation

@ddmesh

@ddmesh ddmesh commented Aug 26, 2021

Copy link
Copy Markdown
Contributor
  • add missing html tag </p>
    <p>This component is licensed under {{ about_object.license_expression.value }}</p>
  • replace spaces for indentation with tabs and move indentation of dyn-html commands into the commands itself to.
    This reduces the size of the output html and makes generated output much cleaner. (needed for embedded devices with
    small storage)

Signed-off-by: Stephan Enderlein stephan@freifunk-dresden.de

ddmesh added 3 commits August 26, 2021 16:07
- replace spaces for indentation with tabs and move indentation of dyn-html commands into the commands itself to.
  This reduces the size of the output html and makes generated output much cleaner. (needed for embedded devices with
  small storage)

Signed-off-by: Stephan Enderlein <stephan@freifunk-dresden.de>
…_html.template

Signed-off-by: Stephan Enderlein <stephan@freifunk-dresden.de>
Signed-off-by: Stephan Enderlein <stephan@freifunk-dresden.de>
@chinyeungli

Copy link
Copy Markdown
Contributor

@ddmesh thanks for the pull request. However, we'll still prefer spaces over tabs. Can you restore the spaces? Thanks again.

@ddmesh

ddmesh commented Aug 30, 2021

Copy link
Copy Markdown
Contributor Author

no problem, because the indentation is now within the dyn-html commands {%...%}, those spaces will not be rendered into the output html. -> done.

Signed-off-by: Stephan Enderlein <stephan@freifunk-dresden.de>
@chinyeungli
chinyeungli merged commit 513f261 into aboutcode-org:develop Aug 30, 2021
@chinyeungli

Copy link
Copy Markdown
Contributor

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants