acl-translation / acl-chinese

ANSI Common Lisp 中文翻译版

Home Page:acl.lisp.tw

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strange inline block display incorrectly of Chapter 2

JuanitoFatas opened this issue · comments

source:

在表达式 ``(+ 2 3)`` 中, ``+`` 称作操作符,而数字 ``2`` 跟 ``3`` 称之为实参。

錯誤的 span 成 3 個:

<span class="pre"> ... </span>

我刚才其他 theme 里测试过,同样的表达式都是输出成 3 个 pre 标签的。

这个错误应该和 pre 标签关系不大,关键在于包裹这三个 pre 标签的 tt 标签,对 theme 进行修改,处理好这个 tt 标签,应该就没问题了。

ok 研究中!真厲害哈!

目前這個沒作用

tt.docutils.literal {
    background-color: #fcfcfc;
}

如果设置了不起作用,可能是有一个更高优先级的 css 覆盖了现有的 css ,仔细检查试试。

先将 pre 的 css 移除掉可能也会有帮助。

fix in f485301 ... :D