aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-03-10 19:01:30 +0100
committerArthurHoaro <arthur@hoa.ro>2016-03-18 19:13:48 +0100
commit69c474b96612dc64fc2cb66f1196251cafa08445 (patch)
tree0522b68c4977b336579765ae37b916dfe526996e /application
parent8395d0b76145969f4b8940a415af5e46528f04a5 (diff)
downloadShaarli-69c474b96612dc64fc2cb66f1196251cafa08445.tar.gz
Shaarli-69c474b96612dc64fc2cb66f1196251cafa08445.tar.zst
Shaarli-69c474b96612dc64fc2cb66f1196251cafa08445.zip
Refactor showAtom, and make it use the ATOM template
Minor changes: * Fix the date which was in a invalid format. * Avoid empty categories (tags). * Use the locale to set the language
Diffstat (limited to 'application')
-rw-r--r--application/Utils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/Utils.php b/application/Utils.php
index 3d819716..bcf5bdb5 100644
--- a/application/Utils.php
+++ b/application/Utils.php
@@ -226,7 +226,7 @@ function space2nbsp($text)
226 * 226 *
227 * @return string formatted description. 227 * @return string formatted description.
228 */ 228 */
229function format_description($description, $redirector) { 229function format_description($description, $redirector = false) {
230 return nl2br(space2nbsp(text2clickable($description, $redirector))); 230 return nl2br(space2nbsp(text2clickable($description, $redirector)));
231} 231}
232 232