Closed mer30hamid closed 8 years ago
Description of feature/request
support RTL (right to left) direction in mobi and epub files
This feature would be used to
In the HTML codes, The <body> should be replaced with <body dir='rtl'>
<body>
<body dir='rtl'>
inc/class-read-offline-create.php
<body ' . (is_rtl() ? "dir='rtl'" : "") . '>
<body ". (is_rtl() ? 'dir=\'rtl\'' : '') . ">
I've added RTL to the latest version here on GitHub, please test
Works fine creating RTL epub, but it seams like mobi doesn't support rtl
Description of feature/request
support RTL (right to left) direction in mobi and epub files
This feature would be used to
In the HTML codes, The
<body>
should be replaced with<body dir='rtl'>
inc/class-read-offline-create.php
Lines: 64, 156
Change From:
<body>
To:
<body ' . (is_rtl() ? "dir='rtl'" : "") . '>
inc/class-read-offline-create.php
Lines: 154, 185, 885, 889
Change From:
<body>
To:
<body ". (is_rtl() ? 'dir=\'rtl\'' : '') . ">