ypnos-web
ypnos-web
I agree that the entry point to this functionality would be HtmlHelper's `icon()` method that could take a custom option for it. I will also have a closer look at...
Options I considered: 1. Make `icon()` a functionality provided by `EasyIconTrait` and use the trait in `HtmlHelper` to expose to the user. All functionality is in one place. Drawback: Configuring...
Regarding the regex, my idea was to apply it on $title and then do a `str_replace` of $title within $text (if $title had matched and was actually altered). This is...
So the two issues you raise are argument duplication and how to deal with escaping. 1. For me the argument duplication is not a big deal as I only see...
Great idea of allowing matching pattern customization, I would add that I think for the user it is cleaner to have a setMatchingPattern() / enableMatching() / disableMatching() interface, as it...
So this sounds like a version of `preg_replace` that supports named back references. Do a `preg_replace_callback` whereas the callback will fill-in all named captures as provided? So in summary: 1....
Ok, so I will be working on this.
+1 solves the problem I observed
I think the only solution to this problem is to use a custom render callback which can then ignore null objects.
Right now we use `$.fn.dataTable.render.text()` as a default render callback as it sanitizes the content (like `h()` method). I wonder if we should use a default render callback that also...