naqvis / crystal-html5

Crystal implementation of HTML5-Compliant Tokenizer and Parser with XPath & CSS Selector support
MIT License
36 stars 3 forks source link

Make Parser and Tokenizer classes public #5

Closed watzon closed 2 years ago

watzon commented 2 years ago

If this isn't wanted I understand, I can always just use my fork, but I think that having the Parser and Tokenizer available for use outside of the library could be very useful to some (like me).

naqvis commented 2 years ago

Thanks @watzon . Reason behind making them private was to hide the internal details from shard user. But if making them accessible (public) is going to help some shard users, then I believe there is no harm in making them public.

watzon commented 2 years ago

Thanks!