From 802c36252a6a8d652970ef207e36ed1bc09be0a7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 20 Nov 2014 23:10:12 -0500 Subject: d: misc mostly minor * html endnote segment, heading endnote, link back to html scroll * epub endnote segment fails, issue with match, fix * dp, remark if no existing option selected --- lib/sisu/develop/dp.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lib/sisu/develop/dp.rb') diff --git a/lib/sisu/develop/dp.rb b/lib/sisu/develop/dp.rb index d5a72817..68f8c610 100644 --- a/lib/sisu/develop/dp.rb +++ b/lib/sisu/develop/dp.rb @@ -146,8 +146,13 @@ module SiSU_Param @@md=@md else @@md end - @@md.opt=@opt - @@md + begin + @@md.opt=@opt + @@md + rescue + SiSU_Utils::CodeMarker.new(__LINE__,__FILE__,:fuchsia).mark('has an existing option been selected?') + exit + end end class MdDefault def rights(author,date) -- cgit v1.2.3