fix library
This commit is contained in:
parent
e2ca090357
commit
fcd31578a9
2 changed files with 5 additions and 5 deletions
|
|
@ -5,8 +5,8 @@ let snippets = ls | each {
|
|||
let title = (
|
||||
cat $in.name |
|
||||
grep "<h1>" |
|
||||
str replace -r "<.*?>" "" |
|
||||
str replace -r "\\[\\[[+!](.*)\\]\\]" "$1"
|
||||
str replace -ar "<.*?>" "" |
|
||||
str replace -ar "\\[\\[[+!](.*?)\\]\\]" "$1"
|
||||
)
|
||||
if ($title | str contains "Redirecting to") {
|
||||
return {
|
||||
|
|
@ -24,8 +24,8 @@ let schedules = ls | each {
|
|||
let title = (
|
||||
cat $in.name |
|
||||
grep "<h1>" |
|
||||
str replace -r "<.*?>" "" |
|
||||
str replace -r "\\[\\[[+!](.*)\\]\\]" "$1"
|
||||
str replace -ar "<.*?>" "" |
|
||||
str replace -ar "\\[\\[[+!](.*?)\\]\\]" "$1"
|
||||
)
|
||||
if ($title | str contains "Redirecting to") {
|
||||
return {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue