mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 11:15:17 +00:00
Merge https://github.com/friendica/red into pending_merge
This commit is contained in:
commit
d7dae3c72a
4 changed files with 4 additions and 6 deletions
|
@ -12,11 +12,9 @@ function tagger_content(&$a) {
|
|||
}
|
||||
|
||||
$observer_hash = get_observer_hash();
|
||||
|
||||
//strip html-tags
|
||||
$term = notags(trim($_GET['term']));
|
||||
// no commas allowed
|
||||
$term = str_replace(array(',',' '),array('','_'),$term);
|
||||
|
||||
//check if empty
|
||||
if(! $term)
|
||||
return;
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ function editor_replace(item) {
|
|||
// 16 chars is also the minimum length in the backend (otherwise it's interpreted as a local id).
|
||||
if(id.length > 16)
|
||||
id = item.id.substring(0,16);
|
||||
return '$1$2'+item.nick.replace(' ','') + '+' + id;
|
||||
return '$1$2'+item.nick.replace(' ','') + '+' + id + ' ';
|
||||
}
|
||||
|
||||
function basic_replace(item) {
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
{{if $catsenabled}}
|
||||
<div id="event-category-wrap">
|
||||
<input name="category" id="event-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="event-cats" style="display: block;" />
|
||||
<input name="category" id="event-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="event-cats" style="display: block;" data-role="tagsinput" />
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue