rework autocomplete: some polishing
This commit is contained in:
parent
01b02dbcaa
commit
ce1faf17d1
5 changed files with 12 additions and 8 deletions
|
|
@ -122,7 +122,7 @@ class Smilies {
|
|||
* @param string $s
|
||||
* @param boolean $sample
|
||||
*
|
||||
* @return string
|
||||
* @return string HML Output of the Smilie
|
||||
*/
|
||||
public static function replace($s, $sample = false) {
|
||||
if(intval(get_config('system','no_smilies'))
|
||||
|
|
@ -165,7 +165,9 @@ class Smilies {
|
|||
* @brief expand <3333 to the correct number of hearts
|
||||
*
|
||||
* @param string $x
|
||||
* @return string
|
||||
* @return string HTML Output
|
||||
*
|
||||
* @todo: Rework because it doesn't work correctly
|
||||
*/
|
||||
private function preg_heart($x) {
|
||||
if(strlen($x[1]) == 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue