This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 2c5a5f11bd0b2753953b9a99308bb5a4825a69fc (commit)
via ec34e8a90673c2e6cd78d1c5545c8d69558dbecb (commit)
from 6fa895e8b186186897b11d9e17e6291a49b9ab32 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=2c5a5f11bd0b2753953b9a99308bb5a4825a69fc
commit 2c5a5f11bd0b2753953b9a99308bb5a4825a69fc
Merge: 6fa895e ec34e8a
Author: Franck Villaume <[email protected]>
Date: Tue Jun 15 13:29:18 2021 +0200
Merge remote-tracking branch 'rhabacker/master-fixup-934'
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=ec34e8a90673c2e6cd78d1c5545c8d69558dbecb
commit ec34e8a90673c2e6cd78d1c5545c8d69558dbecb
Author: Ralf Habacker <[email protected]>
Date: Fri Jun 4 09:11:16 2021 +0200
[#934] In release editing page fix usage of html_e()
If the content is empty, the mentioned function automatically creates
a short-form HTML tag that does not fit when creating a text area.
The bug has been pointed out by Aaron Nottbeck.
Fixup of commit 2b29cf0c07e0b6da499c090f32b7de3fd545003a
diff --git a/src/common/frs/views/editrelease.php
b/src/common/frs/views/editrelease.php
index 4bfd047..3efa28d 100644
--- a/src/common/frs/views/editrelease.php
+++ b/src/common/frs/views/editrelease.php
@@ -111,11 +111,11 @@ if (forge_check_perm('frs', $package_id, 'admin')) {
$title = util_gen_cross_ref_hints();
$cells = array();
$cells[] = array('<strong>'._('Paste The Notes
In')._(':').'</strong><br/>'.
- html_e('textarea', array('name' => 'release_notes', 'rows' =>
'10', 'cols' => '60', 'title' => $title), $frsr->getNotes()), 'colspan' => 2);
+ html_e('textarea', array('name' => 'release_notes', 'rows' =>
'10', 'cols' => '60', 'title' => $title), $frsr->getNotes(), false), 'colspan'
=> 2);
echo $HTML->multiTableRow(array(), $cells);
$cells = array();
$cells[] = array('<strong>'._('Paste The Change Log
In')._(':').'</strong><br/>'.
- html_e('textarea', array('name' => 'release_changes', 'rows' =>
'10', 'cols' => '60', 'title' => $title), $frsr->getChanges()), 'colspan' => 2);
+ html_e('textarea', array('name' => 'release_changes', 'rows' =>
'10', 'cols' => '60', 'title' => $title), $frsr->getChanges(), false),
'colspan' => 2);
echo $HTML->multiTableRow(array(), $cells);
$cells = array();
$cells[] = array('<input type="checkbox" name="preformatted" value="1"
'.(($frsr->getPreformatted())?'checked="checked"':'').' />'._('Preserve my
pre-formatted text').
-----------------------------------------------------------------------
Summary of changes:
src/common/frs/views/editrelease.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits