Commit 931bf4ac authored by Thomas Mortagne's avatar Thomas Mortagne
Browse files

XRENDERING-617: Wiki reference of type "page" don't produce the expected URL in the HTML renderer

parent 29114e16
......@@ -23,7 +23,6 @@
import java.util.Map;
import javax.inject.Inject;
import javax.inject.Named;
import org.apache.commons.lang3.StringUtils;
import org.xwiki.component.annotation.Component;
......@@ -43,8 +42,7 @@
* @version $Id$
* @since 2.5M2
*/
@Component
@Named("doc")
@Component(hints = {"doc", "page"})
@InstantiationStrategy(ComponentInstantiationStrategy.PER_LOOKUP)
public class DocumentXHTMLLinkTypeRenderer extends AbstractXHTMLLinkTypeRenderer implements Initializable
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment