Project

General

Profile

Actions

Feature #11060

open

Insert HTML fragments

Added by luigifab ! almost 12 years ago. Updated almost 12 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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 ?

Actions #1

Updated by Jean-Philippe Lang almost 12 years ago

  • Tracker changed from Defect to Feature
  • Category set to Text formatting
Actions #2

Updated by Etienne Massip almost 12 years ago

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

Actions #3

Updated by luigifab ! almost 12 years 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?

Actions

Also available in: Atom PDF