Issues with Spacing and Code
-
My issue is with readability. The shortcodes appear to add spacing to the output HTML when added to your page code like this:
[accordion tag="p" clicktoclose="true" autoclose="true"] [accordion-item class="cfstyle" title="3-Way Call Transfer"]3-Way Call Transfer allows the subscriber to add a third party to an existing call without operator assistance. With 3-Way Call Transfer, a subscriber can set up a 3-way call and then disconnect, allowing the remaining parties to continue the conversation.[/accordion-item] [accordion-item class="cfstyle" title="3-Way Calling"]Allows you to add a third party to your current telephone conversation. This feature can reduce the need for callbacks when organizing plans and schedules. 3-Way Calling can bring family and friends together.[/accordion-item] [accordion-item class="cfstyle" title="Anonymous Call Rejection"]By dialing a simple code, you can program your phone to refuse calls from callers which have blocked their number. Those callers get a special message which says you do not accept anonymous calls and suggests they remove the blocking and call again. See instructions below. All other callers ring through as usual.[/accordion-item] [/accordion]
As a result, I seem forced to write my code as follows to avoid it:
[accordion tag="p" clicktoclose="true" autoclose="true"][accordion-item class="cfstyle" title="3-Way Call Transfer"]3-Way Call Transfer allows the subscriber to add a third party to an existing call without operator assistance. With 3-Way Call Transfer, a subscriber can set up a 3-way call and then disconnect, allowing the remaining parties to continue the conversation.[/accordion-item][accordion-item class="cfstyle" title="3-Way Calling"]Allows you to add a third party to your current telephone conversation. This feature can reduce the need for callbacks when organizing plans and schedules. 3-Way Calling can bring family and friends together.[/accordion-item][accordion-item class="cfstyle" title="Anonymous Call Rejection"]By dialing a simple code, you can program your phone to refuse calls from callers which have blocked their number. Those callers get a special message which says you do not accept anonymous calls and suggests they remove the blocking and call again. See instructions below. All other callers ring through as usual.[/accordion-item][/accordion]
This is very hard to read and make sense of. Any way to avoid the addition of the spacing when separated out?
- The topic ‘Issues with Spacing and Code’ is closed to new replies.