Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac8d6cf
)
MDL-55137: Update PHPDoc for external_format_text
author
Cameron Ball
<cameron@moodle.com>
Wed, 6 Jul 2016 09:48:07 +0000
(17:48 +0800)
committer
Cameron Ball
<cameron@moodle.com>
Wed, 6 Jul 2016 09:48:07 +0000
(17:48 +0800)
lib/externallib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/externallib.php
b/lib/externallib.php
index
befa4e6
..
6feaec4
100644
(file)
--- a/
lib/externallib.php
+++ b/
lib/externallib.php
@@
-904,6
+904,7
@@
function external_format_string($str, $contextid, $striplinks = true, $options =
* returned. Default false.
* allowid : If true then id attributes will not be removed, even when using htmlpurifier. Default (different from
* format_text) true. Default changed id attributes are commonly needed.
+ * blanktarget : If true all <a> tags will have target="_blank" added unless target is explicitly specified.
* </pre>
*
* @param string $text The content that may contain ULRs in need of rewriting.