Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.1
-
Confluence Version 3.1 Build Number 1722 Server ID AKNU-BLY0-O390-MU19 Support Entitlement Number SEN-137633 Java Runtime Environment Operating System Linux 2.6.18-128.1.10.el5.xs5.5.0.51xen OS Architecture amd64 Application Server Apache Tomcat/6.0.14 Servlet Version 2.5 Java Version 1.6.0_20 Java Vendor Sun Microsystems Inc. JVM Version 1 JVM Vendor Sun Microsystems Inc. JVM Implementation Version 16.3-b01 Java Runtime Java(TM) SE Runtime Environment Java VM Java HotSpot(TM) 64-Bit Server VM Java Runtime Arguments -Xms256m -Xmx1024m -XX:MaxPermSize=512m -XX:+UseParallelOldGC -Djava.awt.headless=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/confluence-3.1-std/conf/logging.properties -Djava.endorsed.dirs=/ Application Server Working Directory /home/confluence Temp Directory /var/confluence-3.1-std/temp User Name confluence System Favourite Colour Heliotrope Filesystem Encoding UTF-8 Database Information Database name MySQL Database version 5.1.39-community-log Database Dialect com.atlassian.hibernate.dialect.MySQLDialect Database Driver Name com.mysql.jdbc.Driver Database Driver Version 5.1 Database Connection URL jdbc:mysql://mysql05/confluence_31?autoReconnect=true Database Connection Transaction Isolation Repeatable read Database Latency 1 Confluence Version 3.1 Build Number 1722 Server ID AKNU-BLY0-O390-MU19 Support Entitlement Number SEN-137633 Java Runtime Environment Operating System Linux 2.6.18-128.1.10.el5.xs5.5.0.51xen OS Architecture amd64 Application Server Apache Tomcat/6.0.14 Servlet Version 2.5 Java Version 1.6.0_20 Java Vendor Sun Microsystems Inc. JVM Version 1 JVM Vendor Sun Microsystems Inc. JVM Implementation Version 16.3-b01 Java Runtime Java(TM) SE Runtime Environment Java VM Java HotSpot(TM) 64-Bit Server VM Java Runtime Arguments -Xms256m -Xmx1024m -XX:MaxPermSize=512m -XX:+UseParallelOldGC -Djava.awt.headless=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/confluence-3.1-std/conf/logging.properties -Djava.endorsed.dirs=/ Application Server Working Directory /home/confluence Temp Directory /var/confluence-3.1-std/temp User Name confluence System Favourite Colour Heliotrope Filesystem Encoding UTF-8 Database Information Database name MySQL Database version 5.1.39-community-log Database Dialect com.atlassian.hibernate.dialect.MySQLDialect Database Driver Name com.mysql.jdbc.Driver Database Driver Version 5.1 Database Connection URL jdbc:mysql://mysql05/confluence_31?autoReconnect=true Database Connection Transaction Isolation Repeatable read Database Latency 1
Description
We're using Confluence for technical documentation, and we need to include a code snippet which looks as follows:
<style> #topDiv img { width: 100%; } </style>
using the Code macro, upon save, the hash - # - character disappears and it converts the following word into a hyperlink, thus the snippet becomes
<style> [#topDiv|https://confluence.opinionlab.com/label/kb/topdiv] img { width: 100%; } </style>
we then tried escaping the # with a slash
This works, but the slash then remains visible:
<style> \#topDiv img { width: 100%; } </style>
what we would like to happen is this:
<style> #topDiv img { width: 100%; } </style>
which appears to work OK in this JIRA, but not in our Confluence