Support multi-line titles. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 6c24719fa0f96451b86f175ed42e8f7e8c1ef530 | |
parent c2cdc13f4b1e2effd0e00fb9e357292aad4e5576 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Mon, 2 Apr 2018 11:38:17 +0200 | |
Support multi-line titles. | |
Diffstat: | |
M annna-start-services | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/annna-start-services b/annna-start-services | |
@@ -91,7 +91,7 @@ then | |
| grep 'https\{0,1\}://[^ ]')" | |
if [ -n "$uri" ]; | |
then | |
- urititle="$(curl-grabtitle "${uri}")" | |
+ urititle="$(curl-grabtitle "${uri}" | xargs echo)" | |
if [ -n "$urititle" ]; | |
then | |
annna-say -c "#bitreich-en" "HTML title: ${uri… |