lib/tdiary/style/etdiary.rb in tdiary-style-etdiary-0.0.1 vs lib/tdiary/style/etdiary.rb in tdiary-style-etdiary-0.0.2
- old
+ new
@@ -1,14 +1,7 @@
# -*- coding: utf-8; -*-
-#
-# etdiary_style.rb: tDiary style class for etDiary format.
-# $Id: etdiary_style.rb,v 1.20 2008-03-02 09:01:20 kazuhiko Exp $
-#
-# if you want to use this style, add @style into tdiary.conf below:
-#
-# @style = 'etDiary'
-#
+
module TDiary
module Style
class EtdiarySection
attr_reader :subtitle, :bodies, :author, :anchor_type
attr_reader :categories, :stripped_subtitle
@@ -277,12 +270,9 @@
"</PRE>"
end
end
class EtdiaryDiary
- include BaseDiary
- include CategorizableDiary
-
TAG_BEG_REGEXP = /\A<([A-Za-z][0-9A-Za-z]*)([^>]*)>([^\r]*)\z/
TAG_END_REGEXP = /\A([^\r]*)<\/([A-Za-z][0-9A-Za-z]*)>\n*\z/
PRE_REGEXP = /\A<[Pp][Rr][Ee][^>]*>([^\r]*)<\/[Pp][Rr][Ee]>\n*\z/
TITLE_REGEXP = /\A<<([^\r]*?)>>[^>]/