From 357e30ad12017b4d67cac5f4400e8f371cd2f504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tantek=20=C3=87elik?= Date: Mon, 4 Apr 2016 08:31:04 -0700 Subject: [PATCH] new function trim_leading_urls new function from Falcon, trim_leading_urls, useful for generating post name/title from plain text that is usually auto-linked/embedded, e.g. photo posts --- cassis.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/cassis.js b/cassis.js index 63f6dcf..278a392 100755 --- a/cassis.js +++ b/cassis.js @@ -1199,6 +1199,24 @@ function ellipsize_to_word($s, $max, $e, $min) { /// ?>