About format:
Trim empty lines at start/end of code:
About copy/paste code:
When I copy and paste some code to text editor it looks fine.
When I copy and paste some code to answer on forum, it adds 'line number' to every line.
Original code looks like that:
(now I click Preview before creating thread to render 'view' of that code)
Code copied from 'preview' (or any post on forum) looks like that:
[/LIST]
Code copied and pasted as a quote:
Suggestion: Find/write better plugin for code formatting.
Trim empty lines at start/end of code:
PHP:
<?php
echo 1;
About copy/paste code:
When I copy and paste some code to text editor it looks fine.
When I copy and paste some code to answer on forum, it adds 'line number' to every line.
Original code looks like that:
PHP:
<?php
echo 1;
exit;
Code copied from 'preview' (or any post on forum) looks like that:
PHP:
[LIST=1]
[*]<?php
[*]echo 1;
[*]exit;
Code copied and pasted as a quote:
There also appears some '1.' after quote, which is not visible in WYSIWYG.
- <?php
- echo 1;
- exit;
Suggestion: Find/write better plugin for code formatting.
Last edited: