Jean-Vincent Drean wrote:
On Sun, Nov 16, 2008 at 3:56 AM, SVN sdumitriu <[email protected]> wrote:
Author: sdumitriu @@ -376,9 +372,10 @@ * @return the given text rendered in the context of this document * @deprecated since 1.6M1 use {@link #getRenderedContent(String, String)} ^^^^^^^^^^^
*/ + @Deprecated public String getRenderedContent(String text) throws XWikiException { - return doc.getRenderedContent(text, getXWikiContext()); + return this.doc.getRenderedContent(text, getXWikiContext()); }
We currently have 6 pages using this method in XE wiki : http://hudson.xwiki.org/job/xwiki-product-enterprise-test-trunk/com.xpn.xwik...
WWYT about un-deprecate this method and make it return getRenderedContent(text, getSyntaxId()); ? Seems logical to me since this is what we would do from velocity.
I didn't deprecate it, it was there before (rev. 11285). Vincent? -- Sergiu Dumitriu http://purl.org/net/sergiu/