ruby / rdoc

RDoc produces HTML and online documentation for Ruby projects.
https://ruby.github.io/rdoc/
Other
841 stars 438 forks source link

HTML fragments in ri output #1138

Open zenspider opened 3 months ago

zenspider commented 3 months ago

This happens on 3.3.3 and 3.3.4. Dunno when it started but HTML needs to be removed from ri output.

10007 $ ri File.flock
= File.flock

(from ruby core)
------------------------------------------------------------------------
  flock(locking_constant) -> 0 or false

------------------------------------------------------------------------

Locks or unlocks a file according to the given locking_constant,
a bitwise OR of the values in the table below.
Not available on all platforms.
Returns false if File::LOCK_NB is specified and the operation would have
blocked;
otherwise returns 0.
<table>
  <tr>
    <th colspan="3">Locking Constants</th>
  </tr>
  <tr>

I can see this in file.c:

/*  :markup: markdown                                                           
...
 *  | Constant        | Lock         | Effect                                   
 *  |-----------------|--------------|-----------------------------------------\
...
 */