icmx/xv

Handle quotes in parsing

icmx opened this issue · 0 comments

icmx commented

comicparse library should handle incorrect quotes in a following way:

  • ' and " should became , but only if they're surrounding one or more words, i.e. like this:
    • test test's test -> do nothing
    • test 'test' test -> test “test“ test
    • test 'test test' test -> test “test test“ test
    • test 'test test' -> test “test test“ test
  • Repeated should be trimmed into one, like ““““what it this““ -> “what it this“