<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://tm.root-n.com/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>Tipsというかメモ oss:wordpress</title>
        <description></description>
        <link>https://tm.root-n.com/</link>
        <lastBuildDate>Fri, 28 Nov 2025 13:49:19 +0900</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>https://tm.root-n.com/lib/images/favicon.ico</url>
            <title>Tipsというかメモ</title>
            <link>https://tm.root-n.com/</link>
        </image>
        <item>
            <title>WordPress :: 行頭の半角スペースの削除を回避する</title>
            <link>https://tm.root-n.com/oss:wordpress:line_head_space</link>
            <description>WordPressで記事を書くときは「ビジュアルモード」(ビジュアルエディタ)で書くことが多いと思います。

「ビジュアルモード」は&lt;HTML&gt;タグを意識せずに装飾を施せるので便利ですが、このエントリーのタイトルにもあるように、行頭の半角スペースや全角スペースを勝手に削除してしまいます。

ソースコードの公開でスペースにてインデントを表したい場合など、この挙動に困っている方は結構いるのではないでしょうか。



約半日かけて、WordPress と TinyMCE のソースコードを追ってみて、削除を行っているとおぼしきコードを複数発見し、それらをコメントアウトしたり修正してみましたが、挙動を抑制するまでに至りませんでした。…</description>
        <category>oss:wordpress</category>
            <pubDate>Thu, 10 Apr 2014 14:30:57 +0900</pubDate>
        </item>
    </channel>
</rss>
