Emanuil Rusev
59c77e706b
improve consistency
2014-09-22 02:36:42 +03:00
Haralan Dobrev
0a3fde3774
Add noMarkup
option to escape user HTML
...
Resolves #106 .
This change introduces a new option - `noMarkup`. You could set it the
`setNoMarkup()` method similar to the `setBreaksEnabled()` one.
Example usage:
``` php
<?php
$parsedown = new Parsedown();
$parsedown->setNoMarkup(true);
$parsedown->text('<div><strong>*Some text*</strong></div>');
// Outputs:
// <p><div><strong><em>Some text</em><s;/strong></div></p>
```
2014-09-20 14:53:19 +03:00
Jannik Zschiesche
512cc1f065
Limit generated headlines to h6
2014-08-25 21:06:03 +02:00
Haralan Dobrev
1127681d56
Allow slashes in HTML attributes
2014-08-13 23:54:52 +03:00
Emanuil Rusev
1ae100beab
improve comment
2014-05-17 17:37:17 +03:00
Emanuil Rusev
2da10d277b
resolve #105
2014-05-14 13:14:49 +03:00
Emanuil Rusev
532b5ede35
resolve #129
2014-05-14 01:11:05 +03:00
Emanuil Rusev
2bd2f81f4f
methods should not have more than one optional parameters
2014-05-12 16:18:00 +03:00
Emanuil Rusev
e318e66de5
improve consistency
2014-05-12 00:41:00 +03:00
Emanuil Rusev
0820d0a607
paragraph doesn't have to use a type
2014-05-12 00:34:47 +03:00
Emanuil Rusev
b8d1cfe91a
improve extensibility
2014-05-11 22:31:02 +03:00
ScarWu
973d4a866d
add array check
2014-05-11 23:36:01 +08:00
Emanuil Rusev
d19c2b6942
improve names
2014-05-10 16:28:00 +03:00
Emanuil Rusev
4dde57451d
fix consecutive reference links
2014-05-06 17:05:49 +03:00
Emanuil Rusev
44686c4f1e
improve extensibility
2014-05-06 01:12:27 +03:00
Emanuil Rusev
db02ecf259
"reference" is a definition
2014-05-05 14:43:31 +03:00
Emanuil Rusev
aa004d4595
improve code organisation
2014-05-05 14:39:40 +03:00
Emanuil Rusev
1bb65457ed
remove unnecessary comments
2014-05-05 13:46:26 +03:00
Emanuil Rusev
0c9a4af8ab
improve naming consistency
2014-05-03 18:02:06 +03:00
Emanuil Rusev
cc94c1b584
resolve #167
2014-05-02 18:21:10 +03:00
Emanuil Rusev
e8d8801db4
resolve #135
2014-05-01 02:44:35 +03:00
Emanuil Rusev
521803cdcd
resolve #136
2014-05-01 02:42:01 +03:00
Emanuil Rusev
0eb480324c
resolve #145
2014-05-01 02:02:14 +03:00
Emanuil Rusev
7c78aff578
resolve #163
2014-05-01 01:47:14 +03:00
Emanuil Rusev
2a5f99547c
resolve #162
2014-05-01 01:05:31 +03:00
Emanuil Rusev
e373391e7d
resolve #164
2014-05-01 00:29:21 +03:00
Emanuil Rusev
9fa415bcc5
resolve #160
2014-04-28 21:54:38 +03:00
Emanuil Rusev
83d3e3dbbf
improve readability
2014-04-28 02:27:05 +03:00
Emanuil Rusev
307a987cb6
improve naming consistency
2014-04-28 02:14:46 +03:00
Emanuil Rusev
eab3cbf255
remove unnecessary nesting
2014-04-28 02:10:18 +03:00
Emanuil Rusev
cf7f32f891
definitions are not blocks
2014-04-27 01:54:52 +03:00
Emanuil Rusev
5e95242318
improve code consistency
2014-04-26 01:06:14 +03:00
Emanuil Rusev
4f027386b1
"complete" calls should be more consistent
2014-04-24 23:52:42 +03:00
Emanuil Rusev
6081954185
resolve #154
2014-04-18 00:19:22 +03:00
Emanuil Rusev
d841003c65
fenced code blocks should respect indnetation
2014-04-17 23:09:10 +03:00
Emanuil Rusev
f310bbe13f
nested calls to lines should not reset reference definitions
2014-04-17 15:07:09 +03:00
Emanuil Rusev
2595f366d9
texts should not share reference definitions
2014-04-17 14:43:45 +03:00
Emanuil Rusev
5be4491943
make parser class more extensible
2014-04-17 10:59:35 +03:00
Emanuil Rusev
159c3cede6
move deprecated methods to the bottom of the class
2014-04-17 01:11:30 +03:00
Won-Kyu Park
9bf64d2e31
resolve #125 using strpos()
2014-02-27 23:58:24 +09:00
Emanuil Rusev
886c620440
Merge pull request #122 from wkpark/marker_index
...
use $closestMarkerIndex
2014-02-27 14:14:14 +02:00
Won-Kyu Park
e156c418d6
fixup regression due to commit 59907ff7
"simplify em/strong routine"
...
use $closestMarkerIndex correctly
2014-02-26 14:14:56 +09:00
Haralan Dobrev
d8650cd77c
Add set_breaks_enabled() as an alias for BC
...
Backwards-compatibility is kept with versions before PSR-2 naming.
See http://git.io/SsTarw
2014-02-25 00:43:09 +02:00
Emanuil Rusev
3fa9d62572
psr-2 names
2014-02-24 01:38:58 +02:00
Emanuil Rusev
4f851205a7
simplify content types
2014-02-24 00:55:34 +02:00
Emanuil Rusev
0985c2ef29
fix [0] reference labels
2014-02-23 23:43:18 +02:00
Emanuil Rusev
9fd9262f16
implement tables
2014-02-23 18:55:34 +02:00
Emanuil Rusev
a6756fd4fa
resolve #117
2014-02-22 12:35:54 +02:00
Emanuil Rusev
1e8d917f7a
replace synopsis with a more appropriate word
2014-02-21 02:26:23 +02:00
Emanuil Rusev
324eaf7c15
move synopsis to the top
2014-02-21 02:23:17 +02:00