Sha256: 1d5e0f6311c476e3d38833ff9679b9b5c059fd41c2c04c5bbf44581f4ba7b4ab

Contents?: true

Size: 602 Bytes

Versions: 18

Compression:

Stored size: 602 Bytes

Contents

%%{

  machine redcloth_common;
  include redcloth_common "redcloth_common.rl";

  action esc { strCatEscaped(self, block, data, ts, te); }
  action esc_pre { strCatEscapedForPreformatted(self, block, data, ts, te); }
  action ignore { ((RubyString)block).append(self.callMethod(runtime.getCurrentContext(), "ignore", regs)); }
  
  # conditionals
  action starts_line {
    p == orig_p || data[(p-1)] == '\r' || data[(p-1)] == '\n' || data[(p-1)] == '\f'
  }
  action starts_phrase {
    p == orig_p || data[(p-1)] == '\r' || data[(p-1)] == '\n' || data[(p-1)] == '\f' || data[(p-1)] == ' '
  }

}%%;

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
jeremy-RedCloth-4.1.1 ext/redcloth_scan/redcloth_common.java.rl
BBRedCloth-0.8.8 ext/redcloth_scan/redcloth_common.java.rl
BBRedCloth-0.8.7 ext/redcloth_scan/redcloth_common.java.rl
BBRedCloth-0.8.6 ext/redcloth_scan/redcloth_common.java.rl
BBRedCloth-0.8.5 ext/redcloth_scan/redcloth_common.java.rl
BBRedCloth-0.8.4 ext/redcloth_scan/redcloth_common.java.rl
BBRedCloth-0.8.3 ext/redcloth_scan/redcloth_common.java.rl
BBRedCloth-0.8.2 ext/redcloth_scan/redcloth_common.java.rl
BBRedCloth-0.8.1 ext/redcloth_scan/redcloth_common.java.rl
RedCloth-4.1.1-universal-java ext/redcloth_scan/redcloth_common.java.rl
RedCloth-4.1.0-universal-java ext/redcloth_scan/redcloth_common.java.rl
RedCloth-4.1.0 ext/redcloth_scan/redcloth_common.java.rl
RedCloth-4.1.0-x86-mswin32-60 ext/redcloth_scan/redcloth_common.java.rl
RedCloth-4.1.1-x86-mswin32-60 ext/redcloth_scan/redcloth_common.java.rl
RedCloth-4.1.9-x86-mswin32-60 ext/redcloth_scan/redcloth_common.java.rl
RedCloth-4.1.1 ext/redcloth_scan/redcloth_common.java.rl
RedCloth-4.1.9 ext/redcloth_scan/redcloth_common.java.rl
RedCloth-4.1.9-universal-java ext/redcloth_scan/redcloth_common.java.rl