Skip to content

Conversation

@Alfro
Copy link
Contributor

@Alfro Alfro commented Jul 14, 2016

The code was difficult to handle, so I had to refactor it in order to fix the bug properly.

Alfro added 2 commits July 14, 2016 13:41
The previous commit did not actually 'fix' the bug. My assumptions on how 'preg_replace_callback' worked were wrong.
The refactoring was nice though, so I am keeping it.
The bug was an issue with having some hyperlinks inside other hyperlinks, which didn't work well with the regex in charge to add the iframes.
I added a function to fix that first (adding <a> and </a> ala browser parser) and THEN do the usual replacing.
 Conflicts:
	Resources/data/pumoodle/filter/pumukit/filter.php

The conflict was caused by 00b9b18, task #11857
Changed iframe width/height according to commit.
@Alfro
Copy link
Contributor Author

Alfro commented Jan 26, 2017

@rubenrua Is this still relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants