File: svg.tidy

package info (click to toggle)
git-cola 4.13.0-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 6,480 kB
  • sloc: python: 36,938; sh: 304; makefile: 223; xml: 100; tcl: 62
file content (14 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Config file for [HTML Tidy](html-tidy.org) to properly format SVG markup
// The main goal is to split elements attributes to separate lines, useful in comparing in diffs
// Documentation: http://api.html-tidy.org/tidy/tidylib_api_next/tidy_config.html
// Credit goes to [blalasaadri](https://stackoverflow.com/users/2382246/blalasaadri), who asks the question and find the solution themself.
// https://stackoverflow.com/questions/25447006/adding-line-breaks-between-attributes
input-xml: yes
output-xml: yes
add-xml-decl: yes

indent: auto
indent-attributes: yes
indent-spaces: 4

hide-comments: yes