diff options
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | page.php | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md index 5a945ef..fbbdec6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +# Moved development to GitLab + +## https://gitlab.com/earboxer/prosongsa + # Prosongsa ## Setup diff --git a/page.php b/page.php index f0dcc3d..85b657f 100644 --- a/page.php +++ b/page.php @@ -127,7 +127,7 @@ function load_song( $number, $transp = 0 ) } if ( preg_match( "/\{p?\d*\((.+m?)\)\}/", $line, $matches) - || preg_match("/^{Key: ?(.*)}/i", $line, $matches) + || preg_match("/^{Key: ?([^ ]*).*}/i", $line, $matches) ) { if ( isset( $suggestedSong[$current_song])) |
