yatex

diff yahtml.el @ 473:526425d2841d

Added tag yatex-1.79 for changeset a3ba09c1e8e9
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 10 Sep 2017 10:05:44 +0859
parents c7b93cfceb1b
children d6952c7e35cc
line diff
     1.1 --- a/yahtml.el	Wed Jul 19 13:17:23 2017 +0859
     1.2 +++ b/yahtml.el	Sun Sep 10 10:05:44 2017 +0859
     1.3 @@ -1,6 +1,6 @@
     1.4  ;;; yahtml.el --- Yet Another HTML mode -*- coding: sjis -*-
     1.5  ;;; (c) 1994-2017 by HIROSE Yuuji [yuuji(@)yatex.org]
     1.6 -;;; Last modified Wed Jul 19 13:10:28 2017 on firestorm
     1.7 +;;; Last modified Mon Jul 24 11:03:07 2017 on firestorm
     1.8  ;;; $Id$
     1.9  
    1.10  (defconst yahtml-revision-number "1.79.3"
    1.11 @@ -1270,7 +1270,7 @@
    1.12  (defun yahtml:img ()
    1.13    "Add-in function for <img>"
    1.14    (let ((src (yahtml-read-parameter "src"))
    1.15 -	(alg (yahtml-read-parameter "align"))
    1.16 +	(alg (if yahtml-html4-strict nil (yahtml-read-parameter "align")))
    1.17  	alt
    1.18  	(brd (read-string-with-history "border="))
    1.19  	(l yahtml-prefer-upcase-attributes)
    1.20 @@ -1678,9 +1678,7 @@
    1.21         (yahtml-make-optional-argument
    1.22  	"width" (yahtml-read-parameter "width"))
    1.23         (yahtml-make-optional-argument
    1.24 -	"height" (yahtml-read-parameter "height"))
    1.25 -       (yahtml-make-optional-argument
    1.26 -	"align" (yahtml-read-parameter "align"))))
    1.27 +	"height" (yahtml-read-parameter "height"))))
    1.28       (t
    1.29        ""))))
    1.30