Feature #11060

Insert HTML fragments

Added by luigifab ! 12 months ago. Updated 12 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:-
Resolution:

Description

There is any possibility to insert HTML fragments in wiki/project description?

I was looking for similar functionality and so I added a simple macro to macros.rb.
Here is the code snippet.

  desc "Insert html" + "\n\n" +
       "  !{{html(html block)}}" 
  macro :html do |obj, args|
    return CGI::unescapeHTML(args.join(","))
  end

Source: http://www.redmine.org/boards/2/topics/2677?r=21292#message-21292
Can you add this in a next release of Redmine ?

History

#1 Updated by Jean-Philippe Lang 12 months ago

  • Tracker changed from Defect to Feature
  • Category set to Text formatting

#2 Updated by Etienne Massip 12 months ago

Not very safe for instances allowing wiki page editing to everybody.

#3 Updated by luigifab ! 12 months ago

It's true, but this feature allow you to add more informations to your wiki/issue.
To control this feature, for example, you can add a new permission to group, no?

Also available in: Atom PDF