Open Romern opened 3 years ago
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.
scan_url
scan_markup
single
The function is a very tangled mess and doesn't work in some edge cases (See https://github.com/Romern/syncMyMoodle/issues/47 ).