fix library

This commit is contained in:
Tove 2025-11-27 11:25:19 +01:00
parent e2ca090357
commit fcd31578a9
Signed by: TudbuT
GPG key ID: B3CF345217F202D3
2 changed files with 5 additions and 5 deletions

View file

@ -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