Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more options to PrinterConfig #18

Open
note opened this issue Jan 2, 2018 · 1 comment
Open

Add more options to PrinterConfig #18

note opened this issue Jan 2, 2018 · 1 comment
Labels

Comments

@note
Copy link
Owner

note commented Jan 2, 2018

Ideas of additional options in PrinterConfig:

  • add Boolean option for repairing namespaces (i.e. automatically defining used namespaces in case they're not yet defined)
  • add option which defines how to treat multiple attributes for the same elements (namely <a attr="val1" attr="val2"></a>). Exemplary behaviors - ignore it and print all of them, flatten them by concatenating them separated by spaces, use the last value, use the first value)
@note note changed the title Add verifiesOutput option to PrinterConfig Add more options to PrinterConfig Jan 2, 2018
@note note added the M2 label Jan 4, 2018
@note
Copy link
Owner Author

note commented Jan 17, 2018

Another option - let user decide how to print empty elements: <a></a> vs <a />.

BTW for now <a></a> is implicitly assumed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant