Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006026OCamlOCamldocpublic2013-05-31 09:112013-08-05 10:59
ReporterHendrik Tews 
Assigned Toguesdon 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version4.00.0 
Target Version4.01.0+devFixed in Version4.01.0+dev 
Summary0006026: ocamldoc syntax error on <code>
DescriptionHi,

ocamldoc seems to recognize and interpred some html tags. For instance, (** <code> *) triggers a syntax error while (** <codes> *) works fine.

The problem is that this feature and the set of recognized tags is not documented.

I would suggest to either remove this feature or to document it.

Bye,

Hendrik
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0009372)
gasche (developer)
2013-05-31 11:06
edited on: 2013-05-31 11:08

Looking at the code, HTML syntaxes were implemented "since the beginning" (2002 in the repo history) for ocamldoc. For example, instead of the code syntax
  [List.map foo bar]
you may use the following
  <code>List.map foo bar</code>

The other supported tags are <b, <i, <ul, <ol, <li and <center for {b..}, {i..}, {ul..}, {ol..}, {li..} and {C..}, as well as <h[0-9] for hierarchic titles.

Tag parsing is case-insensitive: <ceNteR> is also accepted.

(0010104)
guesdon (manager)
2013-08-05 10:59

These tags are now documented and will appear in the next version of the documentation.

- Issue History
Date Modified Username Field Change
2013-05-31 09:11 Hendrik Tews New Issue
2013-05-31 09:11 Hendrik Tews Status new => assigned
2013-05-31 09:11 Hendrik Tews Assigned To => guesdon
2013-05-31 11:06 gasche Note Added: 0009372
2013-05-31 11:06 gasche Note Edited: 0009372 View Revisions
2013-05-31 11:07 gasche Note Edited: 0009372 View Revisions
2013-05-31 11:08 gasche Note Edited: 0009372 View Revisions
2013-05-31 11:08 gasche Note Edited: 0009372 View Revisions
2013-07-12 17:03 doligez Target Version => 4.02.0+dev
2013-07-12 18:15 doligez Target Version 4.02.0+dev => 4.01.1+dev
2013-08-05 10:59 guesdon Note Added: 0010104
2013-08-05 10:59 guesdon Status assigned => closed
2013-08-05 10:59 guesdon Resolution open => fixed
2013-08-05 10:59 guesdon Fixed in Version => 4.01.0+dev
2013-08-05 10:59 guesdon Target Version 4.01.1+dev => 4.01.0+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker