[Hackage] #784: Cabal strips out { and } in literate code blocks of the description field
Hackage
cvs-ghc at haskell.org
Wed Dec 29 02:38:51 CET 2010
#784: Cabal strips out { and } in literate code blocks of the description field
----------------------------+-----------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.8.0.6
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion:
Platform: |
----------------------------+-----------------------------------------------
If you have a description like this:
{{{
description: Here is some C code:
.
> for(i = 0; i < 100; i++){
> printf("%d\n",i);
> }
.
}}}
Cabal will strip out the brackets. You can use @..@ syntax with {
and } except that then the whitespace is off in your code block and
you have to escape any symbols that haddock knows. Putting a blackslash
(\) in front the braces does not help.
The above example works fine in plain haddock leading me the conclusion
that cabal is eating the braces.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/784>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list