Commit 7ae74a0
Cgit: fix error with libravatar plugin
The extra <span> tag added by the libravatar plugin triggered a value
too long for type character varying(250) error.
Modified regex to cover this use case.
Use a variable for the pattern to avoid code duplication.
Fixes #386
Changes to original contribution:
- reworded commit message
- added non-capturing regex group for the <span> tag
- coding guidelines
Signed-off-by: Damien Regad <[email protected]>1 parent 943bff1 commit 7ae74a0
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
254 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
258 | | - | |
259 | | - | |
| 260 | + | |
| 261 | + | |
260 | 262 | | |
261 | 263 | | |
262 | 264 | | |
| |||
0 commit comments