forked from Fediversity/Fediversity
further prettify output
This commit is contained in:
parent
d4aa88f759
commit
cbe10ec304
|
@ -147,11 +147,11 @@ let
|
|||
|
||||
print-element = name: attrs: content:
|
||||
with lib;
|
||||
lib.squash ''
|
||||
squash (trim ''
|
||||
<${name}${print-attrs attrs}>
|
||||
${lib.indent " " content}
|
||||
</${name}>
|
||||
'';
|
||||
'');
|
||||
|
||||
elements = rec {
|
||||
document = { ... }: {
|
||||
|
|
Loading…
Reference in a new issue