refactor: update parsing algorithm Despite the fact that this has just been refactored, it'll be completely rethought in next version
refactor: update parsing algorithm
Despite the fact that this has just been refactored, it'll be completely rethought in next version

Original algorithm was taken from vkbeautify project (https://code.google.com/p/vkbeautify/) though this is not the best way to process XML for prettifying.

Slight changes to the original were made to address performance of the function, however, it still doesn't achieve expected results.

krtnio/angular-pretty-xml