syncMyMoodle
syncMyMoodle copied to clipboard
Rewrite/Refactor `scanForLinks`
The function is a very tangled mess and doesn't work in some edge cases (See https://github.com/Romern/syncMyMoodle/issues/47 ).
In the v2 rewrite I split this method into scan_url
and scan_markup
which replaces the single
parameter. Also I plan to implement a way to register regexes over which will be looped in those methods.