fix image filename
This commit is contained in:
parent
6d5a8eff62
commit
70c71b5703
1 changed files with 3 additions and 3 deletions
|
|
@ -27,10 +27,10 @@ export default definePlugin({
|
|||
|
||||
patches: [
|
||||
{
|
||||
find: ".clickableWrapper",
|
||||
find: '"calc(100% + 1px)":"100%"',
|
||||
replacement: {
|
||||
match: /\.originalLink,href:(\i)/,
|
||||
replace: "$&,title:$self.getTitle($1)"
|
||||
match: /(?="data-role":"img","data-safe-src":)(?<=href:(\i).{0,30})/,
|
||||
replace: "title:$self.getTitle($1),"
|
||||
}
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue