Sha256: 9f79dc31a09d6dd24146e80a7041413ebf78f45609cc6f50d6a99a4d2d11ca8f
Contents?: true
Size: 341 Bytes
Versions: 44
Compression:
Stored size: 341 Bytes
Contents
# encoding: utf-8 module Prismic module Fragments class Text < Fragment attr_accessor :value def initialize(value) @value = value end def as_html(link_resolver=nil) %(<span class="text">#{CGI::escapeHTML(@value)}</span>) end def as_text @value end end end end
Version data entries
44 entries across 44 versions & 1 rubygems