comparableDestination reduces a destination goldmark reported to the single form used to decide whether a run of source is the node it came from. Percent encoding is left as written, since goldmark reports it unchanged and both sides of every comparison therefore carry it.
(dest string)
| 403 | // encoding is left as written, since goldmark reports it unchanged and both |
| 404 | // sides of every comparison therefore carry it. |
| 405 | func comparableDestination(dest string) string { |
| 406 | return unescapePunctuation(dest) |
| 407 | } |
| 408 | |
| 409 | // comparableSource reduces a destination read straight from the source to that |
| 410 | // same form. It still carries the syntax goldmark had already removed: the |
no test coverage detected