If you are using the IncludeMacro from trac-hacks, just use the second argument to set the MIME type.
[[Include(source:Divers/env/doc/Guides.html, text/html)]] Antoine Pérus wrote: > le 1/02/07 23:15, Marc-Antoine Zizka <[EMAIL PROTECTED]> a écrit : > >>> I would like to display an html file stored in the svn repository directly >>> into the wiki. I have tried the IncludeMacro as hereafter: >>> [[Include(http://127.0.0.1:8800/Svn/Divers/env/doc/Guides.html)]] >>> but have an error : >>> "Error while retrieving file >>> HTTP Error 401: Authorization Required" >>> >>> This url, http://127.0.0.1:8800/Svn/Divers/env/doc/Guides.html, directly >>> in >>> the browser runs properly. >> If the repository is the one paired with your Trac setup, you should use a >> source link: >> [[Include(source:Divers/env/doc/Guides.html)]] >> > But in that way I get the raw text with markups. I would like to display the > text as a rightly formatted html text. (it has the property svn:mime-type > set to text/html) > > Thanks, > > Antoine --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
