Benjamin Fenner

Results 5 comments of Benjamin Fenner

Sorry to jump in here. I believe spectrum.net is using SvelteKit, and that is causing trouble for Pale Moon users. See here: https://forum.palemoon.org/viewtopic.php?f=70&t=28403&p=230430#p230430 I'm sorry if this is not the...

I am unable to reproduce this issue. The BBCode works properly for me. Input: `[url=http://lostpix.com/?v=2018-02-04_qa1th9680k10zvlhcm8qr6zkt.png][img]http://lostpix.com/thumbs/2018-02/04/qa1th9680k10zvlhcm8qr6zkt.png[/img][/url]` Output: `` My definitions look like this: `DefaultCodeDefinitionSet.php` ```PHP $urlValidator = new \JBBCode\validators\UrlValidator(); // [url]...

Proposed fix to `CodeDefinition.php`: ```DIFF public function hasValidInputs(ElementNode $el) { if ($this->usesOption() && $this->optionValidator) { $att = $el->getAttribute(); foreach($att as $name => $value){ + $name = strtolower($name); if(isset($this->optionValidator[$name]) && !$this->optionValidator[$name]->validate($value)){...

Oh wow, I just realized I'm on JBBCode v1.3.0 and apparently the project is on v1.4.2 right now. I had no idea... I guess I should update my copy. If...

Again, this might be entirely irrelevant because v1.4.2 exists, but for those on v1.3.0 and wanting to solve this problem, I actually took the time to look into fixing this...