Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Component/s: Forum
-
Labels:None
-
Environment:All
-
Testing Instructions:
- As student create a new forum post
- As admin edit said forum post
- View edited result examine the html the brackets should be within the span
-
Affected Branches:MOODLE_20_STABLE
-
Fixed Branches:MOODLE_21_STABLE, MOODLE_22_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
When a message was modified, a message ( edited by name - date ) is added.
In the html code, brackets are not inside the span
I think that it would be better if the brackets were inside the span. No ?
So in mod/forum/lib.php, the line 2291
$post->message .= '<p>(<span class=edited>'.$editedby.'</span>)</p>';
would be :
$post->message .= '<p><span class=edited>('.$editedby.')</span></p>';