Unable to Find Space in Custom Function
<p>As you can see in my next/previous link I have an extra space before the word "Previous" and I can't seem to find it.  Any help is greatly appreciated:</p>

<p><a href="http://themeforward.com/demo2/?p=1813&amp;page=2" rel="nofollow">http://themeforward.com/demo2/?p=1813&amp;page=2</a></p>

<p>Custom function:</p>

<pre><code>// Custom Next/Previous Page
add_filter('wp_link_pages_args', 'wp_link_pages_args_prevnext_add');
/**
 * Add prev and next links to a numbered link list
 */
function wp_link_pages_args_prevnext_add($args)
{
    global $page, $numpages, $more, $pagenow;

    if (!$args['next_or_number'] == 'next_and_number') 
        return $args; # exit early

    $args['next_or_number'] = 'number'; # keep numbering for the main part
    if (!$more)
        return $args; # exit early

    if($page-1) # there is a previous page
        $args['before'] .= _wp_link_page($page-1)
            . $args['link_before']. $args['previouspagelink'] . $args['link_after'] . '&lt;/a&gt;'
        ;

    if ($page&lt;$numpages) # there is a next page
        $args['after'] = _wp_link_page($page+1)
            . $args['link_before'] . $args['nextpagelink'] . $args['link_after'] . '&lt;/a&gt;'
            . $args['after']
        ;

    return $args;
}
</code></pre>

<p>Calling it:</p>

<pre><code>&lt;?php

wp_link_pages(array(
    'before' =&gt; '&lt;p&gt;' . __(''),
    'after' =&gt; '&lt;/p&gt;',
    'next_or_number' =&gt; 'next_and_number', # activate parameter overloading
    'nextpagelink' =&gt; __('Next'),
    'previouspagelink' =&gt; __('Previous'),
    'pagelink' =&gt; '%',
    'echo' =&gt; 1 )
);

?&gt;
</code></pre>
