This fixes issue #76 and sets the path for future sanitization tasks.
On the ParagraphConverter I added a new function that will handle all the sanitization needed. Right now it has two different sanitizators, one for headerlike characters and one for blockquotelike characters.
Since it scans the paragraph contents line by line, new sanitizators can be added in the future.
This fixes issue #76 and sets the path for future sanitization tasks.
On the ParagraphConverter I added a new function that will handle all the sanitization needed. Right now it has two different sanitizators, one for headerlike characters and one for blockquotelike characters.
Since it scans the paragraph contents line by line, new sanitizators can be added in the future.
I also added new tests.
Please check it out and tell me what you think.