diff --git a/httpinfo.sh b/httpinfo.sh index 696cd62..ffa055b 100755 --- a/httpinfo.sh +++ b/httpinfo.sh @@ -51,7 +51,7 @@ function print_status_code_description() { ARTICLE_CONTENT=$(echo "$TRIMMED_HTML" | grep -o -P '
(.*?)<\/article>') TITLE=$(echo "$ARTICLE_CONTENT" | grep -o -P '(?<=

).*(?=

)') - DESCRIPTION=$(echo "$ARTICLE_CONTENT" | grep -o -P '(?<=
).*(?=
)') + DESCRIPTION=$(echo "$ARTICLE_CONTENT" | grep -o -P '(?<=
).*(?=
)') echo "$TITLE" repeat_text ${#TITLE} "="